about summary refs log tree commit diff stats
path: root/tools/conf/etc/nginx
diff options
context:
space:
mode:
authorSilvino Silva <silvino@bk.ru>2019-02-14 04:58:25 +0000
committerSilvino Silva <silvino@bk.ru>2019-02-14 06:07:32 +0000
commit4fafa3dbe6bddda8655ad1a8521f99de9f5f9e24 (patch)
tree618a392022a78dd0cc7d4f7094d2051daa90e717 /tools/conf/etc/nginx
parent6847d67bb8e98db3e00489b223cd694a3e9f0733 (diff)
downloaddoc-4fafa3dbe6bddda8655ad1a8521f99de9f5f9e24.tar.gz
initial host and fqd rebranding
Diffstat (limited to 'tools/conf/etc/nginx')
-rw-r--r--tools/conf/etc/nginx/sites-enabled/default.conf20
-rw-r--r--tools/conf/etc/nginx/sites-enabled/git.localhost.conf2
-rw-r--r--tools/conf/etc/nginx/sites/default.conf2
-rw-r--r--tools/conf/etc/nginx/sites/drupal.conf4
-rw-r--r--tools/conf/etc/nginx/sites/flyspray.conf2
-rw-r--r--tools/conf/etc/nginx/sites/laravel.conf6
6 files changed, 18 insertions, 18 deletions
diff --git a/tools/conf/etc/nginx/sites-enabled/default.conf b/tools/conf/etc/nginx/sites-enabled/default.conf
index f7c3484..c35b0cd 100644
--- a/tools/conf/etc/nginx/sites-enabled/default.conf
+++ b/tools/conf/etc/nginx/sites-enabled/default.conf
@@ -4,12 +4,12 @@ server {
     listen 443 ssl;
 
 #    listen 80;
-    server_name c9.core;
+    server_name machine.example;
 
 #  listen [::]:443 ssl http2;
-    ssl_certificate /etc/letsencrypt/live/c9.core/fullchain.pem;
-    ssl_certificate_key /etc/letsencrypt/live/c9.core/privkey.pem;
-    ssl_trusted_certificate /etc/letsencrypt/live/c9.core/chain.pem;
+    ssl_certificate /etc/letsencrypt/live/machine.example/fullchain.pem;
+    ssl_certificate_key /etc/letsencrypt/live/machine.example/privkey.pem;
+    ssl_trusted_certificate /etc/letsencrypt/live/machine.example/chain.pem;
     ssl_session_timeout 1d;
     ssl_session_cache shared:SSL:50m;
     ssl_session_tickets off;
@@ -35,7 +35,7 @@ server {
     }
 
     location /doc {
-        alias /srv/www/c9-doc;
+        alias /srv/www/doc;
         index index.html;
     }
 
@@ -59,12 +59,12 @@ server {
 
     location /task {
         index index.php;
-        alias /srv/www/c9-flyspray;
+        alias /srv/www/flyspray;
         try_files $uri $uri/ index.php$is_args$args;
     }
 
     location ~  ^/task(.+\.php)$ { ### This location block was the solution
-        alias /srv/www/c9-flyspray;
+        alias /srv/www/flyspray;
         fastcgi_split_path_info ^(.+\.php)(/.+)$;
         fastcgi_index index.php;
         try_files $uri /index.php =404;	
@@ -75,7 +75,7 @@ server {
     }
 
     location / {
-        alias /srv/www/c9-pmwiki/;
+        alias /srv/www/pmwiki/;
         index pmwiki.php;
         try_files $uri $uri/ /pmwiki.php$is_args$args;
     }
@@ -83,14 +83,14 @@ server {
 # ACME challenge
     location ^~ /.well-known {
         allow all;
-        alias /srv/www/c9-pmwiki/pub/cert/.well-known/;
+        alias /srv/www/pmwiki/pub/cert/.well-known/;
         default_type "text/plain";
         try_files $uri =404;
     }
 
 
     location ~ \.php$ {
-        alias /srv/www/c9-pmwiki;
+        alias /srv/www/pmwiki;
         index pmwiki.php;
         fastcgi_split_path_info ^(.+\.php)(/.+)$;
         fastcgi_index pmwiki.php;
diff --git a/tools/conf/etc/nginx/sites-enabled/git.localhost.conf b/tools/conf/etc/nginx/sites-enabled/git.localhost.conf
index d114ab8..910df66 100644
--- a/tools/conf/etc/nginx/sites-enabled/git.localhost.conf
+++ b/tools/conf/etc/nginx/sites-enabled/git.localhost.conf
@@ -1,7 +1,7 @@
 server {
     listen 443 ssl;
 
-    server_name git.localhost git.c9.core git.core.privat-network.net;
+    server_name git.localhost git.machine.example git.machine.example.org;
 
     root /srv/www/gitweb;
 
diff --git a/tools/conf/etc/nginx/sites/default.conf b/tools/conf/etc/nginx/sites/default.conf
index 1c71c44..dcb076f 100644
--- a/tools/conf/etc/nginx/sites/default.conf
+++ b/tools/conf/etc/nginx/sites/default.conf
@@ -3,7 +3,7 @@ server {
     listen 443 ssl;
     # listen [::]:443 ssl;
 
-    server_name c9.core;
+    server_name machine.example;
 
     root /srv/www/default;
 
diff --git a/tools/conf/etc/nginx/sites/drupal.conf b/tools/conf/etc/nginx/sites/drupal.conf
index 0407a6a..f79ed14 100644
--- a/tools/conf/etc/nginx/sites/drupal.conf
+++ b/tools/conf/etc/nginx/sites/drupal.conf
@@ -3,7 +3,7 @@ server {
         listen 192.168.1.254:443 ssl;
         listen 10.0.0.254:443 ssl;
 
-        server_name c9.core
+        server_name machine.example
 
         root /srv/www/default/drupal; ## &lt;-- Your only path reference.
 
@@ -17,7 +17,7 @@ server {
         }
 
         location /doc {
-            alias /srv/www/c9-doc;
+            alias /srv/www/doc;
             autoindex on;
         }
 
diff --git a/tools/conf/etc/nginx/sites/flyspray.conf b/tools/conf/etc/nginx/sites/flyspray.conf
index 80b5530..ba174f1 100644
--- a/tools/conf/etc/nginx/sites/flyspray.conf
+++ b/tools/conf/etc/nginx/sites/flyspray.conf
@@ -3,7 +3,7 @@ server {
     listen 443 ssl;
     # listen [::]:443 ssl;
 
-    server_name c9.core;
+    server_name machine.example;
 
     root /srv/www/default/flyspray;
     index index.php;
diff --git a/tools/conf/etc/nginx/sites/laravel.conf b/tools/conf/etc/nginx/sites/laravel.conf
index e563a3e..addfd18 100644
--- a/tools/conf/etc/nginx/sites/laravel.conf
+++ b/tools/conf/etc/nginx/sites/laravel.conf
@@ -3,10 +3,10 @@ server {
     # listen [::]:443 ssl;
 
     root /srv/www/default/laravel/public;
-    server_name c9.core
+    server_name machine.example
 
-    location /c9-doc {
-        alias /srv/www/c9-doc;
+    location /doc {
+        alias /srv/www/doc;
         index index.html;
         autoindex on;
     }