summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/awx-nginx.conf2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/awx-nginx.conf b/config/awx-nginx.conf
index 30806cbfe8..15e58678ba 100644
--- a/config/awx-nginx.conf
+++ b/config/awx-nginx.conf
@@ -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;