Improved Nginx Security

pull/119/head
Tony Benoy 7 years ago committed by GitHub
parent 3a51672cff
commit b714ff3fd4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -274,6 +274,8 @@ if [ $INSTALL_NGINX = "True" ]; then
proxy_set_header X-Forwarded-For \$proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto \$scheme;
proxy_set_header X-Real-IP \$remote_addr;
add_header X-Frame-Options "SAMEORIGIN";
add_header X-XSS-Protection "1; mode=block";
# odoo log files
access_log /var/log/nginx/odoo-access.log;

Loading…
Cancel
Save