aboutsummaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authorericgaspar <junk.eg@free.fr>2021-12-07 22:40:13 +0100
committerericgaspar <junk.eg@free.fr>2021-12-07 22:40:13 +0100
commit881197fc583749e341311e28c024c50e21cb2031 (patch)
tree4c0c5cf88c261db7b60c32033bdefe2df82e841d /conf
parentdf3848850ebfb1fabc58858e2559a841b40ac9e4 (diff)
downloadmastodon_ynh-881197fc583749e341311e28c024c50e21cb2031.tar.gz
mastodon_ynh-881197fc583749e341311e28c024c50e21cb2031.tar.bz2
mastodon_ynh-881197fc583749e341311e28c024c50e21cb2031.zip
fix linter
Diffstat (limited to '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;