Browse Source

Shortener: remove trailing slash from addresses

merge-requests/70/head
Deimos 6 years ago
parent
commit
3579bfef43
  1. 3
      salt/salt/nginx/tildes-shortener.conf.jinja2

3
salt/salt/nginx/tildes-shortener.conf.jinja2

@ -1,4 +1,7 @@
server {
# remove trailing slash from addresses
rewrite ^/(.*)/$ https://$host/$1 permanent;
listen 443 ssl http2;
listen [::]:443 ssl http2;

Loading…
Cancel
Save