Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7f8b52c61a | ||
|
|
e033897f32 | ||
|
|
86d5250a43 |
@ -514,7 +514,21 @@ server {
|
||||
listen [::]:80 {{ $default_server }};
|
||||
{{ end }}
|
||||
access_log /var/log/nginx/access.log vhost;
|
||||
return 301 https://$host$request_uri;
|
||||
|
||||
# Allow acme challenge requests without redirect
|
||||
location ^~ /.well-known/acme-challenge/ {
|
||||
auth_basic off;
|
||||
auth_request off;
|
||||
allow all;
|
||||
root /usr/share/nginx/html;
|
||||
try_files $uri =404;
|
||||
break;
|
||||
}
|
||||
|
||||
# Redirect all other requests to HTTPS
|
||||
location / {
|
||||
return 301 https://$host$request_uri;
|
||||
}
|
||||
}
|
||||
{{ end }}
|
||||
|
||||
|
||||
@ -5,7 +5,7 @@ services:
|
||||
nbxplorer:
|
||||
restart: unless-stopped
|
||||
container_name: generated_nbxplorer_1
|
||||
image: nicolasdorier/nbxplorer:2.5.16
|
||||
image: nicolasdorier/nbxplorer:2.5.26
|
||||
expose:
|
||||
- "32838"
|
||||
environment:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user