Skip to content

Commit 67f18ff

Browse files
committed
Update proxy.conf.template
1 parent fb03846 commit 67f18ff

File tree

1 file changed

+15
-7
lines changed

1 file changed

+15
-7
lines changed

proxy/templates/proxy.conf.template

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,6 @@ server {
3434
#ssl_trusted_certificate /etc/letsencrypt/live/${NGINX_HOST}/chain.pem;
3535
#ssl_dhparam /etc/letsencrypt/ssl-dhparam.pem;
3636
include /etc/letsencrypt/options-ssl-nginx.conf;
37-
#
38-
client_max_body_size 8m;
39-
proxy_headers_hash_max_size 768;
40-
proxy_headers_hash_bucket_size 128;
41-
#
4237

4338
location / {
4439
proxy_pass http://docker_webserver;
@@ -66,11 +61,24 @@ server {
6661
}
6762
#
6863
# deny access to .htaccess vb. files, if Apache's document root
69-
#
64+
#
7065
location ~/\. {
7166
deny all;
7267
log_not_found off;
73-
}
68+
}
69+
#
70+
location ~ /.well-known {
71+
allow all;
72+
}
73+
#
74+
location = /favicon.ico {
75+
log_not_found off;
76+
}
77+
#
78+
location = /robots.txt {
79+
allow all;
80+
log_not_found off;
81+
}
7482
#
7583
access_log off;
7684
error_log /var/log/nginx/${NGINX_HOST}.error.log error;

0 commit comments

Comments
 (0)