-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathghost
57 lines (46 loc) · 1.79 KB
/
ghost
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
server {
listen 80;
server_name www.vanila.io;
return 301 http://vanila.io$request_uri;
}
server {
listen 80 default_server;
listen [::]:80 default_server ipv6only=on;
server_name vanila.io; # Replace with your domain
root /var/www;
index index.html index.htm;
client_max_body_size 10G;
rewrite ^/category http://vanila.io permanent;
rewrite ^/link http://vanila.io permanent;
rewrite ^/submit-link.php http://vanila.io permanent;
rewrite ^/pending-list.php http://vanila.io permanent;
rewrite ^/my-links.php http://vanila.io permanent;
rewrite ^/most-visited.php http://vanila.io permanent;
rewrite ^/top-rated.php http://vanila.io permanent;
rewrite ^/contact.php http://vanila.io permanent;
rewrite ^/my-links-images http://vanila.io permanent;
rewrite ^/index.php http://vanila.io permanent;
rewrite ^/cg-girls-3th-post-2.php http://vanila.io permanent;
rewrite ^/cg-girls-3th-post-3.php http://vanila.io permanent;
rewrite ^/cg-girls-3th-post.php http://vanila.io permanent;
rewrite ^/crystal-ball-3ds-max.php http://vanila.io permanent;
rewrite ^/cool-abstract-3ds-max.php http://vanila.io permanent;
rewrite ^/vray-wood-material-tutorial.php http://vanila.io permanent;
location ^~ /files {
root /var/www;
}
location /blog {
proxy_pass http://localhost:2368;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $http_host;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_buffering off;
}
location /mail {
proxy_pass http://localhost:3020;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $http_host;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_buffering off;
}
}