aboutsummaryrefslogtreecommitdiff
path: root/conf/nginx.conf
diff options
context:
space:
mode:
authoryalh76 <yalh@yahoo.com>2022-01-07 19:41:59 +0100
committerGitHub <noreply@github.com>2022-01-07 19:41:59 +0100
commitfa8a9d4eed460fa73926e7874313091dffb7b9fc (patch)
tree155293eb2bf6b881ab4bae9490440bd2125cdfec /conf/nginx.conf
parentadec07db890dec787416e1b7c4493d24391d3500 (diff)
parent1476f17251ea0b339390cfa5210e258342ea5a4a (diff)
downloadmastodon_ynh-fa8a9d4eed460fa73926e7874313091dffb7b9fc.tar.gz
mastodon_ynh-fa8a9d4eed460fa73926e7874313091dffb7b9fc.tar.bz2
mastodon_ynh-fa8a9d4eed460fa73926e7874313091dffb7b9fc.zip
Merge pull request #290 from YunoHost-Apps/testing
Upgrade to 3.4.4
Diffstat (limited to 'conf/nginx.conf')
-rw-r--r--conf/nginx.conf5
1 files changed, 0 insertions, 5 deletions
diff --git a/conf/nginx.conf b/conf/nginx.conf
index 866fcc7..19c2c01 100644
--- a/conf/nginx.conf
+++ b/conf/nginx.conf
@@ -6,11 +6,6 @@ root __FINALPATH__/live/public;
location / {
- # Force usage of https
- if ($scheme = http) {
- rewrite ^ https://$server_name$request_uri? permanent;
- }
-
proxy_set_header Accept-Encoding "";
try_files $uri @proxy;