aboutsummaryrefslogtreecommitdiff
path: root/conf/nginx.conf
diff options
context:
space:
mode:
authorÉric Gaspar <46165813+ericgaspar@users.noreply.github.com>2022-01-06 15:53:14 +0100
committerGitHub <noreply@github.com>2022-01-06 15:53:14 +0100
commit79914a6f08ad0b16774785f3d491f9567bc1de2d (patch)
tree3ccb0febe099bd46d73e4a4bbd032327c9f33cd3 /conf/nginx.conf
parentdf3848850ebfb1fabc58858e2559a841b40ac9e4 (diff)
parentdac17de1453a284095fa5a5e2412b553f28a83af (diff)
downloadmastodon_ynh-79914a6f08ad0b16774785f3d491f9567bc1de2d.tar.gz
mastodon_ynh-79914a6f08ad0b16774785f3d491f9567bc1de2d.tar.bz2
mastodon_ynh-79914a6f08ad0b16774785f3d491f9567bc1de2d.zip
Merge pull request #289 from Tagadda/fix-install
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;