Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: modules/discourse/files/intraforum.adblockplus.org

Issue 10590026: Install Nginx 1.4.1 from the official repository (Closed)
Patch Set: Created May 17, 2013, 11:04 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
OLDNEW
1 upstream discourse { 1 upstream discourse {
2 server unix:///tmp/discourse-thin.sock; 2 server unix:///tmp/discourse-thin.sock;
3 } 3 }
4 4
5 server { 5 server {
6 listen 80;
6 listen [::]:80; 7 listen [::]:80;
7 server_name intraforum.adblockplus.org; 8 server_name intraforum.adblockplus.org;
8 location / { 9 location / {
9 rewrite (.*) https://intraforum.adblockplus.org$1 permanent; 10 rewrite (.*) https://intraforum.adblockplus.org$1 permanent;
10 } 11 }
11 } 12 }
12 server { 13 server {
13 listen [::]:443 ssl; 14 listen [::]:443 ssl;
14 server_name intraforum.adblockplus.org; 15 server_name intraforum.adblockplus.org;
15 ssl_certificate sites-available/adblockplus.org_sslcert.pem; 16 ssl_certificate sites-available/adblockplus.org_sslcert.pem;
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 proxy_set_header X-Real-IP $remote_addr; 48 proxy_set_header X-Real-IP $remote_addr;
48 proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; 49 proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
49 proxy_set_header X-Forwarded-Proto $scheme; 50 proxy_set_header X-Forwarded-Proto $scheme;
50 proxy_set_header Host $http_host; 51 proxy_set_header Host $http_host;
51 if (!-f $request_filename) { 52 if (!-f $request_filename) {
52 proxy_pass http://discourse; 53 proxy_pass http://discourse;
53 break; 54 break;
54 } 55 }
55 } 56 }
56 } 57 }
OLDNEW

Powered by Google App Engine
This is Rietveld