This commit is contained in:
AlexBa16
2026-06-01 17:21:51 +02:00
parent 52711085d5
commit 23e985d33a
2 changed files with 5 additions and 1 deletions
+1
View File
@@ -15,6 +15,7 @@ services:
volumes:
- ./proxy/nginx.conf:/etc/nginx/nginx.conf:ro,z
- ./proxy/html:/usr/share/nginx/html:ro,z
- ./certs/live:/etc/nginx/certs:ro,z
backend-a:
image: nginx:1.27-alpine
+4 -1
View File
@@ -29,7 +29,10 @@ http {
server {
listen 80;
server_name _;
listen 443 ssl;
server_name localhost;
ssl_certificate /etc/nginx/certs/localhost.crt;
ssl_certificate_key /etc/nginx/certs/localhost.key;
add_header X-Content-Type-Options "nosniff" always;
add_header X-Frame-Options "DENY" always;