README corto y sin comentarios en el código
This commit is contained in:
parent
cb551e2a3c
commit
7ed0276704
9 changed files with 7 additions and 165 deletions
|
|
@ -1,5 +1,3 @@
|
|||
# Copiar a /etc/nginx/snippets/acampada26s-hub.conf
|
||||
# OASIS escuchando en 127.0.0.1:3000 (node backend.js --public --no-open --host=127.0.0.1)
|
||||
limit_except GET HEAD { deny all; }
|
||||
proxy_pass http://127.0.0.1:3000;
|
||||
proxy_http_version 1.1;
|
||||
|
|
@ -9,7 +7,6 @@ proxy_set_header X-Forwarded-For "";
|
|||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
proxy_read_timeout 120s;
|
||||
proxy_buffering on;
|
||||
# add_header en location anula los del server: se repiten aquí todos menos la CSP.
|
||||
add_header Strict-Transport-Security "max-age=63072000" always;
|
||||
add_header X-Content-Type-Options "nosniff" always;
|
||||
add_header Referrer-Policy "no-referrer" always;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue