taler-deployment

Deployment scripts and configuration files
Log | Files | Refs | README

docs-ssl.site (1698B)


      1 server {
      2         listen 443 ssl;
      3         listen   [::]:443 ssl; ## listen for ipv4; this line is default and implied
      4  	# 	listen   [::]:80 default_server ipv6only=on; ## listen for ipv6
      5 
      6         # Temporary, as this doesn't do i18n
      7 	root /home/docbuilder/build/docs-landing/;
      8 
      9 	# Make site accessible from http://localhost/
     10 	server_name docs.taler.net
     11 	            www.docs.taler.net;
     12 
     13         include conf.d/talerssl;
     14 
     15 	location / {
     16 	    autoindex off;
     17 	    ssi off;
     18 #	    ssi_last_modified on;
     19 
     20 
     21 	    rewrite ^/$ /$index_redirect_uri/ redirect;
     22 	    rewrite ^/(..)/$ /$1/index.html break;
     23 	}
     24 
     25 
     26         location /code/exchange {
     27             alias /home/docbuilder/build/exchange/doxygen;
     28         }
     29 
     30         location /code/merchant {
     31             alias /home/docbuilder/build/merchant-backend/doxygen;
     32         }
     33 
     34         location /onboarding {
     35             alias /home/docbuilder/build/onboarding/;
     36         }
     37 
     38         location /bank {
     39             alias /home/docbuilder/build/bank/manual;
     40         }
     41 
     42         location /backoffice {
     43             alias /home/docbuilder/build/backoffice/;
     44         }
     45 
     46         location /exchange {
     47             alias /home/docbuilder/build/exchange/manual;
     48         }
     49 
     50         location /merchant/backend {
     51             alias /home/docbuilder/build/merchant-backend/manual;
     52         }
     53 
     54         location /merchant/frontend {
     55             alias /home/docbuilder/build/merchant-frontend/;
     56         }
     57 
     58         location /api {
     59             autoindex off;
     60             alias /home/docbuilder/build/api/html;
     61         }
     62 
     63         # Associated to /api route.
     64         location /_static {
     65             alias /home/docbuilder/api/html/_static;
     66         }
     67 
     68         include conf.d/favicon_robots;
     69 }