Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- upstream transmission {
- server 127.0.0.1:9091; #Transmission
- }
- server {
- listen 8089 default_server;
- server_name sorever.online www.sorever.online;
- location ^~ /.well-known/acme-challenge {
- proxy_pass http://127.0.0.1:81;
- include /etc/nginx/proxy.conf;
- }
- location / {
- return 301 https://$host$request_uri;
- }
- }
- server {
- listen 443 ssl http2 default_server;
- server_name sorever.online www.sorever.online;
- # root /etc/organizr/Organizr;
- access_log /var/log/nginx/organizr.access.log main;
- error_log /var/log/nginx/organizr.error.log warn;
- location = /robots.txt {
- allow all;
- log_not_found off;
- access_log off;
- # Set Google's public DNS servers as upstream resolver
- resolver 8.8.8.8 8.8.4.4 valid=300s;
- resolver_timeout 5s;
- }
- ##############################################################################################################
- # Optional GeoIP blocking / comment this out if your Nginx is not compiled with GeoIP module #
- ##############################################################################################################
- #
- # if ($allowed_country = yes) {
- # set $exclusions 1;
- # }
- # if ($exclusions = "0") {
- # return 403;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement