diff --git a/config/nginx/nginx.conf b/config/nginx/nginx.conf index 084fd25..6214bca 100644 --- a/config/nginx/nginx.conf +++ b/config/nginx/nginx.conf @@ -25,6 +25,11 @@ http { server { listen 80; + location = /robots.txt { + add_header Content-Type text/plain; + return 200 "User-agent: *\nDisallow: /\n"; + } + location / { proxy_pass http://frontend/; } diff --git a/frontend/index.html b/frontend/index.html index 6e4ca9a..fec854b 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -2,6 +2,8 @@ + +