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

Side by Side Diff: modules/notificationserver/files/notification.adblockplus.org

Issue 11166107: Set up notification server (Closed)
Patch Set: Created July 22, 2013, 10:11 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
(Empty)
1 # notification.adblockplus.org
2 server {
3 listen 80 default_server;
4 listen [::]:80 default_server;
5 server_name notification.adblockplus.org;
6 location / {
7 rewrite (.*) https://notification.adblockplus.org$1 permanent;
8 }
9 }
10 server {
11 listen 443 ssl default_server;
12 listen [::]:443 ssl default_server;
13 server_name notification.adblockplus.org;
14 ssl_certificate sites-available/adblockplus.org_sslcert.pem;
15 ssl_certificate_key sites-available/adblockplus.org_sslcert.key;
16
17 # redirect server error pages to the static page /50x.html
18 #
19 error_page 500 502 503 504 /50x.html;
20 location = /50x.html {
21 root html;
22 }
23
24 location /.hg {
25 internal;
26 }
27
28 access_log /var/log/nginx/access_log_notification main;
29 keepalive_timeout 0;
30 root /var/www/notification;
31 }
OLDNEW

Powered by Google App Engine
This is Rietveld