added https parts site, video site, fixed modsecurity
This commit is contained in:
@@ -3,6 +3,9 @@ upstream drone {
|
||||
}
|
||||
|
||||
server {
|
||||
modsecurity on;
|
||||
modsecurity_rules_file {{ nginx_path }}/modsec_includes.conf;
|
||||
|
||||
listen 443 ssl http2;
|
||||
listen [::]:443 ssl http2;
|
||||
server_name {{ ci_server_name }};
|
||||
@@ -22,9 +25,6 @@ server {
|
||||
ssl_stapling_verify on;
|
||||
|
||||
location / {
|
||||
modsecurity on;
|
||||
modsecurity_rules_file {{ nginx_path }}/modsec_includes.conf;
|
||||
|
||||
add_header Allow "GET, POST, HEAD" always;
|
||||
add_header Content-Security-Policy "default-src 'self'; img-src 'self' https://*.githubusercontent.com; frame-ancestors 'self'; base-uri 'none',base-uri 'self'; form-action 'self'" always;
|
||||
add_header Referrer-Policy "same-origin" always;
|
||||
|
||||
Reference in New Issue
Block a user