diff --git a/exozyme.conf b/exozyme.conf index 5194dcc..a249438 100644 --- a/exozyme.conf +++ b/exozyme.conf @@ -1,7 +1,3 @@ -upstream vnc_proxy { - server localhost:6080; -} - server { listen 80 default_server; listen [::]:80 default_server; diff --git a/mastodon.conf b/mastodon.conf index 3e746cf..9df481a 100644 --- a/mastodon.conf +++ b/mastodon.conf @@ -13,16 +13,6 @@ upstream streaming { proxy_cache_path /var/cache/nginx levels=1:2 keys_zone=CACHE:10m inactive=7d max_size=1g; -server { - listen 80; - listen [::]:80; - server_name social.exozy.me; - root /var/lib/mastodon/public; - location / { - return 301 https://$host$request_uri; - } -} - server { listen 443 ssl http2; listen [::]:443 ssl http2; diff --git a/nextcloud.conf b/nextcloud.conf index 3237987..d825182 100644 --- a/nextcloud.conf +++ b/nextcloud.conf @@ -2,15 +2,6 @@ upstream php-handler { server unix:/run/nextcloud/nextcloud.sock; } -server { - listen 80; - listen [::]:80; - server_name cloud.exozy.me; - - # Enforce HTTPS - return 301 https://$server_name$request_uri; -} - server { listen 443 ssl http2; listen [::]:443 ssl http2; diff --git a/peertube.conf b/peertube.conf index c6e8d1c..3fa69fd 100644 --- a/peertube.conf +++ b/peertube.conf @@ -3,16 +3,6 @@ # STANDARD HTTP MODULES: Core, Proxy, Rewrite, Access, Gzip, Headers, HTTP/2, Log, Real IP, SSL, Thread Pool, Upstream, AIO Multithreading. # THIRD PARTY MODULES: None. -server { - listen 80; - listen [::]:80; - server_name tube.exozy.me; - - location / { - return 301 https://$host$request_uri; - } -} - upstream tube_backend { server localhost:9000; } diff --git a/tor.conf b/tor.conf index 80915cc..8661441 100644 --- a/tor.conf +++ b/tor.conf @@ -1,5 +1,5 @@ server { - listen localhost:10080; + listen localhost:10080 http2; server_name qal6mygptf757jiv46m6x2g23v3dyxgrrrv3dbxpiyjj44tsd2u3l3yd.onion; root /srv/http/exozy.me; diff --git a/zabbix.conf b/zabbix.conf index 9024e61..4f1ec2d 100644 --- a/zabbix.conf +++ b/zabbix.conf @@ -1,6 +1,6 @@ server { - listen 80; - listen [::]:80; + listen 80 http2; + listen [::]:80 http2; server_name 192.168.1.13; root /srv/http;