We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 45473e5 commit 4de4446Copy full SHA for 4de4446
docker-compose.yml
@@ -18,6 +18,7 @@ services:
18
- ./certbot/www/:/var/www/certbot/:ro
19
- ./certbot/conf/:/etc/nginx/ssl/:ro
20
- ./static:/usr/src/app/static
21
+ - ./public:/usr/src/app/public
22
ports:
23
- 80:80
24
- 443:443
nginx/nginx.conf
@@ -57,6 +57,10 @@ server {
57
alias /usr/src/app/static/;
58
}
59
60
+ location /robots.txt {
61
+ alias /usr/src/app/public/robots.txt;
62
+ }
63
+
64
65
66
server {
@@ -101,4 +105,8 @@ server {
101
105
102
106
103
107
108
109
110
111
104
112
public/robots.txt
@@ -0,0 +1,2 @@
1
+User-Agent: *
2
+Allow: /
0 commit comments