diff options
author | Marcello Stanisci <marcello.stanisci@inria.fr> | 2016-06-28 15:52:26 +0200 |
---|---|---|
committer | Marcello Stanisci <marcello.stanisci@inria.fr> | 2016-06-28 15:52:26 +0200 |
commit | 563a11a755667a150f1a76ae21c9025482c1a945 (patch) | |
tree | aee6226a44f5598598264c0febab8da739fa5554 /etc | |
parent | 2cdd14fb4828669708a393efc09798683766d889 (diff) | |
download | deployment-563a11a755667a150f1a76ae21c9025482c1a945.tar.gz deployment-563a11a755667a150f1a76ae21c9025482c1a945.tar.bz2 deployment-563a11a755667a150f1a76ae21c9025482c1a945.zip |
nginx "location" order
Diffstat (limited to 'etc')
-rw-r--r-- | etc/nginx/sites-enabled/test.site | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/etc/nginx/sites-enabled/test.site b/etc/nginx/sites-enabled/test.site index c773793..494b77a 100644 --- a/etc/nginx/sites-enabled/test.site +++ b/etc/nginx/sites-enabled/test.site @@ -93,15 +93,16 @@ server { include conf.d/test.redirects; include conf.d/talerssl; - location / { - uwsgi_pass unix:/home/test/sockets/bank.uwsgi; - include /etc/nginx/uwsgi_params; - } - location /admin/add/incoming { allow 127.0.0.1; allow 131.254.145.3; deny all; } + + location / { + uwsgi_pass unix:/home/test/sockets/bank.uwsgi; + include /etc/nginx/uwsgi_params; + } + include conf.d/favicon_robots; } |