Skip to content
This repository was archived by the owner on Sep 17, 2024. It is now read-only.

Commit

Permalink
Disable absolute redirects in nginx
Browse files Browse the repository at this point in the history
  • Loading branch information
barthalion committed Jun 10, 2022
1 parent b9ff891 commit 7ec90df
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ server {
root /srv/http/;
try_files $uri $uri/ $uri.html =404;
error_page 404 /404.html;
absolute_redirect off;

rewrite ^/setup/(.*)/ https://flatpak.org/setup/$1;

Expand Down

0 comments on commit 7ec90df

Please sign in to comment.