about summary refs log tree commit diff stats
path: root/tools/conf/etc/nginx/sites-enabled/default.conf
diff options
context:
space:
mode:
Diffstat (limited to 'tools/conf/etc/nginx/sites-enabled/default.conf')
-rw-r--r--tools/conf/etc/nginx/sites-enabled/default.conf20
1 files changed, 10 insertions, 10 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;