small tweaks from production. nc still broke
This commit is contained in:
parent
19c790882d
commit
ada0ea2831
|
|
@ -63,7 +63,7 @@ services:
|
|||
- VIRTUAL_PATH=/
|
||||
#- VIRTUAL_DEST=/
|
||||
- VIRTUAL_PORT=3000
|
||||
- LETSENCRYPT_HOST=${DOMAIN}
|
||||
- LETSENCRYPT_HOST=${DOMAIN} #,*.${DOMAIN}
|
||||
- LETSENCRYPT_EMAIL=${EMAIL}
|
||||
ports:
|
||||
- "3000:3000"
|
||||
|
|
@ -264,7 +264,7 @@ services:
|
|||
- NEXTCLOUD_TRUSTED_DOMAINS=${DOMAIN} *.${DOMAIN} cloud.${DOMAIN} nextcloud.${DOMAIN} #localdev.${DOMAIN}
|
||||
- NEXTCLOUD_INIT_LOCK=true
|
||||
#- APACHE_DISABLE_REWRITE_IP=1
|
||||
#- TRUSTED_PROXIES=nginx-proxy
|
||||
- TRUSTED_PROXIES=nginx-proxy
|
||||
#- OVERWRITEHOST=${DOMAIN}:8888
|
||||
#- OVERWRITEWEBROOT=/cloud
|
||||
#- OVERWRITEPROTOCOL=https
|
||||
|
|
|
|||
|
|
@ -1,2 +1,12 @@
|
|||
## Start of configuration add by letsencrypt container
|
||||
location ^~ /.well-known/acme-challenge/ {
|
||||
auth_basic off;
|
||||
auth_request off;
|
||||
allow all;
|
||||
root /usr/share/nginx/html;
|
||||
try_files $uri =404;
|
||||
break;
|
||||
}
|
||||
## End of configuration add by letsencrypt container
|
||||
include /etc/nginx/bots.d/ddos.conf;
|
||||
include /etc/nginx/bots.d/blockbots.conf;
|
||||
|
|
|
|||
Loading…
Reference in a new issue