about summary refs log tree commit diff stats
path: root/tools/conf/etc/nginx/sites-enabled
diff options
context:
space:
mode:
authorSilvino Silva <silvino@bk.ru>2020-03-13 19:30:30 +0000
committerSilvino Silva <silvino@bk.ru>2020-03-13 19:30:30 +0000
commit97dedeca18f2550ff6a86a57925149daf1878992 (patch)
treedca428e41d48bc1f1dace9faa8b2eacc91ee7c71 /tools/conf/etc/nginx/sites-enabled
parent8a5897ad0a5e82d389c119001e3feaeaf2d0b1c3 (diff)
downloaddoc-97dedeca18f2550ff6a86a57925149daf1878992.tar.gz
nginx configuration update
Diffstat (limited to 'tools/conf/etc/nginx/sites-enabled')
-rw-r--r--tools/conf/etc/nginx/sites-enabled/default.conf4
-rw-r--r--tools/conf/etc/nginx/sites-enabled/shop.conf (renamed from tools/conf/etc/nginx/sites-enabled/shop.c2.ank.conf)6
-rw-r--r--tools/conf/etc/nginx/sites-enabled/task.conf (renamed from tools/conf/etc/nginx/sites-enabled/task.c2.ank.conf)2
3 files changed, 7 insertions, 5 deletions
diff --git a/tools/conf/etc/nginx/sites-enabled/default.conf b/tools/conf/etc/nginx/sites-enabled/default.conf
index 4bf7fa7..f7a6928 100644
--- a/tools/conf/etc/nginx/sites-enabled/default.conf
+++ b/tools/conf/etc/nginx/sites-enabled/default.conf
@@ -32,9 +32,9 @@ server {
 
 #proxy_redirect off;
 #proxy_set_header Host $http_host;
-#proxy_set_header X-Forwarded-Host $http_host;
+proxy_set_header X-Forwarded-Host $http_host;
 #proxy_set_header X-Real-IP $remote_addr;
-#proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
+proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
 
 
    location /doc {
diff --git a/tools/conf/etc/nginx/sites-enabled/shop.c2.ank.conf b/tools/conf/etc/nginx/sites-enabled/shop.conf
index 3a0aea1..de34e40 100644
--- a/tools/conf/etc/nginx/sites-enabled/shop.c2.ank.conf
+++ b/tools/conf/etc/nginx/sites-enabled/shop.conf
@@ -1,7 +1,9 @@
 server {
     listen 8080;
-    server_name shop.c2.ank;
+    server_name shop.server.ank;
 
+    access_log syslog:server=unix:/dev/log,facility=daemon,tag=nginx_shop,nohostname main;
+    error_log syslog:server=unix:/dev/log,facility=daemon,tag=nginx_shop_err,nohostname debug;
 
     location ~ ^/shop/admin {
         alias /srv/www/shop/upload/admin;
@@ -63,7 +65,7 @@ server {
     }
    
 
-location @tribushop {
+    location @tribushop {
         rewrite ^/shop/(.+)$ /shop/index.php?_route_=$1 last;
     }
 
diff --git a/tools/conf/etc/nginx/sites-enabled/task.c2.ank.conf b/tools/conf/etc/nginx/sites-enabled/task.conf
index 2d62e96..8b15ee5 100644
--- a/tools/conf/etc/nginx/sites-enabled/task.c2.ank.conf
+++ b/tools/conf/etc/nginx/sites-enabled/task.conf
@@ -1,6 +1,6 @@
 server {
     listen 8080;
-    server_name task.c2.ank;
+    server_name task.server.ank;
 
     location /task {
         index index.php;
lt;boothj5@gmail.com> 2016-07-04 23:14:08 +0100 committer James Booth <boothj5@gmail.com> 2016-07-04 23:14:08 +0100 Pass plugin name to all autocompleter functions' href='/danisanti/profani-tty/commit/src/plugins/profapi.c?id=fd218ac3e443650a7b310d4f8cde758f08c0ed8c'>fd218ac3 ^
dcc2123e ^
41fe8c22 ^






ab08d0a3 ^
d90c47f2 ^

41fe8c22 ^
8008d8c3 ^

41fe8c22 ^




51a7588b ^
41fe8c22 ^
1654f16a ^

ac91e7ef ^

4c913aa0 ^
a4e6d50a ^
efeb2fcf ^






2518aa50 ^

efeb2fcf ^
194c53c4 ^

623fbe9e ^
a65403c5 ^
fccf56be ^

1b25aa84 ^


c8874cd2 ^



9cfd1782 ^



7090f85d ^







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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115