mirror of
https://github.com/ansible/awx.git
synced 2026-02-19 12:10:06 -03:30
redirect if no forward-slash
This commit is contained in:
@@ -87,6 +87,8 @@ http {
|
||||
}
|
||||
|
||||
location / {
|
||||
# Redirect if there is no forward-slash
|
||||
rewrite ^(.*[^/])$ $1/ permanent;
|
||||
uwsgi_read_timeout 120s;
|
||||
uwsgi_pass uwsgi;
|
||||
include /etc/nginx/uwsgi_params;
|
||||
|
||||
Reference in New Issue
Block a user