about summary refs log tree commit diff stats
path: root/tools/conf/etc/nginx/sites-enabled/default.conf
diff options
context:
space:
mode:
authorSilvino Silva <silvino@bk.ru>2020-03-11 01:12:03 +0000
committerSilvino Silva <silvino@bk.ru>2020-03-11 01:17:28 +0000
commit8a5897ad0a5e82d389c119001e3feaeaf2d0b1c3 (patch)
treed0254fa780a2a4b2911cc452f88a2f6db8a2595d /tools/conf/etc/nginx/sites-enabled/default.conf
parent24fa6cfc200a16a0d81ff4c7af96853db4028650 (diff)
downloaddoc-8a5897ad0a5e82d389c119001e3feaeaf2d0b1c3.tar.gz
nginx configuration update
Diffstat (limited to 'tools/conf/etc/nginx/sites-enabled/default.conf')
-rw-r--r--tools/conf/etc/nginx/sites-enabled/default.conf51
1 files changed, 26 insertions, 25 deletions
diff --git a/tools/conf/etc/nginx/sites-enabled/default.conf b/tools/conf/etc/nginx/sites-enabled/default.conf
index 1bb8afd..4bf7fa7 100644
--- a/tools/conf/etc/nginx/sites-enabled/default.conf
+++ b/tools/conf/etc/nginx/sites-enabled/default.conf
@@ -7,8 +7,8 @@ server {
     server_name tribu.semdestino.org;
 
     listen 80 default_server;
-    listen 443 ssl default_server;
-#  listen [::]:443 ssl http2;
+   listen 443 ssl default_server;
+#   listen [::]:443 ssl http2;
 
     access_log syslog:server=unix:/dev/log,facility=daemon,tag=nginx_vhost,nohostname main;
     error_log syslog:server=unix:/dev/log,facility=daemon,tag=nginx_vhost_err,nohostname debug;
@@ -29,6 +29,7 @@ server {
     ssl_stapling on;
     ssl_stapling_verify on;
 
+
 #proxy_redirect off;
 #proxy_set_header Host $http_host;
 #proxy_set_header X-Forwarded-Host $http_host;
@@ -43,53 +44,53 @@ server {
     }
 
    location /mirror {
-       proxy_pass http://c1.ank;
+       proxy_pass http://ports.ank;
    }
 
    location /pub {
-       proxy_pass http://wiki.c2.ank:8080;
+       proxy_pass http://wiki.server.ank:8080;
    }
    location ^~ /.well-known {
        # ACME challenge
-       proxy_pass http://wiki.c2.ank;
+       proxy_pass http://wiki.server.ank;
    }
    location /wiki {
-        proxy_pass http://wiki.c2.ank:8080;
+        proxy_pass http://wiki.server.ank:8080;
    }
 
    location /git {
-       proxy_pass http://git.c2.ank:8080;
+       proxy_pass http://git.server.ank:8080;
    }
 
    location /forum/ {
-        proxy_pass http://forum.c2.ank:8080/;
+        proxy_pass http://forum.server.ank:8080/;
    }
 
-   #location /task {
-   #    proxy_pass http://task.c2.ank:8080;
-   #}
+   location /task {
+       proxy_pass http://task.server.ank:8080;
+   }
 
-   # location /shop {
-   #     proxy_pass http://shop.c2.ank:8080;
-   # }
+   location /shop {
+        proxy_pass http://shop.server.ank:8080;
+   }
 
    location /vexim/ {
-       proxy_pass http://vexim.c2.ank:8080/;
+       proxy_pass http://vexim.server.ank:8080/;
    }
 
-   # location /email {
-   #     proxy_pass http://email.c2.ank:8080;
-   # }
+   location /email {
+       proxy_pass http://email.server.ank:8080;
+   }
 
-   # location /awstats {
-   #     proxy_pass http://awstats.c2.ank:8080;
-   # }
+   location /awstats {
+       proxy_pass http://awstats.server.ank:8080;
+   }
 
-   # location /stats {
-   #     proxy_pass http://stats.c2.ank:8080;
-   # }
+   location /stats {
+       proxy_pass http://stats.server.ank:8080;
+   }
 
    location / {
-        proxy_pass http://frontpage.c2.ank:8080/;
+        proxy_pass http://frontpage.server.ank:8080/;
     }
 }
19 18:39:45 -0700 committer Kartik Agaram <vc@akkartik.com> 2019-10-19 18:43:16 -0700 5706 - example at different levels of syntax sugar' href='/akkartik/mu/commit/apps/factorial3.subx?h=hlt&id=c83dca9cb45a7e15b28a979d0ccfce5c202859ba'>c83dca9c ^
71eb22a5 ^
c83dca9c ^


















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