C10
This commit is contained in:
@@ -15,6 +15,7 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- ./proxy/nginx.conf:/etc/nginx/nginx.conf:ro,z
|
- ./proxy/nginx.conf:/etc/nginx/nginx.conf:ro,z
|
||||||
- ./proxy/html:/usr/share/nginx/html:ro,z
|
- ./proxy/html:/usr/share/nginx/html:ro,z
|
||||||
|
- ./certs/live:/etc/nginx/certs:ro,z
|
||||||
|
|
||||||
backend-a:
|
backend-a:
|
||||||
image: nginx:1.27-alpine
|
image: nginx:1.27-alpine
|
||||||
|
|||||||
+4
-1
@@ -29,7 +29,10 @@ http {
|
|||||||
|
|
||||||
server {
|
server {
|
||||||
listen 80;
|
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-Content-Type-Options "nosniff" always;
|
||||||
add_header X-Frame-Options "DENY" always;
|
add_header X-Frame-Options "DENY" always;
|
||||||
|
|||||||
Reference in New Issue
Block a user