mirror of
https://github.com/ansible/awx.git
synced 2026-03-06 03:01:06 -03:30
Update nginx.conf (#1)
* Update nginx.conf Added nginx_status, Sysdig is relentless...
This commit is contained in:
committed by
GitHub
parent
9637058406
commit
84329fc735
@@ -42,7 +42,14 @@ http {
|
|||||||
|
|
||||||
# HSTS (ngx_http_headers_module is required) (15768000 seconds = 6 months)
|
# HSTS (ngx_http_headers_module is required) (15768000 seconds = 6 months)
|
||||||
add_header Strict-Transport-Security max-age=15768000;
|
add_header Strict-Transport-Security max-age=15768000;
|
||||||
|
|
||||||
|
location /nginx_status {
|
||||||
|
stub_status on;
|
||||||
|
access_log off;
|
||||||
|
allow 127.0.0.1;
|
||||||
|
deny all;
|
||||||
|
}
|
||||||
|
|
||||||
location /static/ {
|
location /static/ {
|
||||||
alias /var/lib/awx/public/static/;
|
alias /var/lib/awx/public/static/;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user