Compare commits

...

3 Commits

Author SHA1 Message Date
nicolas.dorier
7f8b52c61a
Add auth_basic/req off 2025-05-15 10:00:29 -05:00
rockstardev
e033897f32
Not redirecting acme-challange url 2025-05-15 10:00:13 -05:00
nicolas.dorier
86d5250a43
bump nbx 2025-05-15 10:49:21 +09:00
2 changed files with 16 additions and 2 deletions

View File

@ -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 }}

View File

@ -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: