Last active
March 12, 2025 04:03
Revisions
-
Belphemur revised this gist
May 20, 2016 . No changes.There are no files selected for viewing
-
Belphemur revised this gist
May 20, 2016 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -2,7 +2,7 @@ upstream transmission { server 127.0.0.1:9091; #Transmission } server { listen 443 ssl http2; server_name example.com; auth_basic "Server Restricted"; auth_basic_user_file /var/www/myWebSite/web/.htpasswd; -
Belphemur revised this gist
May 20, 2016 . 1 changed file with 15 additions and 1 deletion.There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -22,10 +22,20 @@ server { ssl_ciphers ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv3:+EXP; ssl_prefer_server_ciphers on; location / { return 301 https://$server_name/transmission/; } location ^~ /transmission { proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Host $http_host; proxy_set_header X-NginX-Proxy true; proxy_http_version 1.1; proxy_set_header Connection ""; proxy_pass_header X-Transmission-Session-Id; add_header Front-End-Https on; location /transmission/rpc { proxy_pass http://transmission; @@ -50,6 +60,10 @@ server { location /transmission/web/images/ { alias /usr/share/transmission/web/images/; } location /transmission/ { return 301 https://$server_name/transmission/web; } } } -
Belphemur revised this gist
Oct 25, 2015 . 1 changed file with 3 additions and 3 deletions.There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -40,15 +40,15 @@ server { } location /transmission/web/style/ { alias /usr/share/transmission/web/style/; } location /transmission/web/javascript/ { alias /usr/share/transmission/web/javascript/; } location /transmission/web/images/ { alias /usr/share/transmission/web/images/; } } -
Belphemur created this gist
Jan 21, 2015 .There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,55 @@ upstream transmission { server 127.0.0.1:9091; #Transmission } server { listen 443 ssl spdy; server_name example.com; auth_basic "Server Restricted"; auth_basic_user_file /var/www/myWebSite/web/.htpasswd; # Path to the root of your installation error_log /var/www/myWebSite/logs/error.log; access_log /var/www/myWebSite/logs/access.log; ### SSL cert files ### ssl_certificate /var/www/myWebSite/ssl/advert.crt; ssl_certificate_key /var/www/myWebSite/ssl/advert.key; ### Add SSL specific settings here ### ssl_session_timeout 10m; ssl_protocols SSLv3 TLSv1 TLSv1.1 TLSv1.2; ssl_ciphers ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv3:+EXP; ssl_prefer_server_ciphers on; location ^~ /transmission/ { proxy_http_version 1.1; proxy_set_header Connection ""; proxy_pass_header X-Transmission-Session-Id; location /transmission/rpc { proxy_pass http://transmission; } location /transmission/web/ { proxy_pass http://transmission; } location /transmission/upload { proxy_pass http://transmission; } location /transmission/web/style/ { alias /usr/local/share/transmission/web/style/; } location /transmission/web/javascript/ { alias /usr/local/share/transmission/web/javascript/; } location /transmission/web/images/ { alias /usr/local/share/transmission/web/images/; } } }