Initial changes to integrate new portal
This commit is contained in:
parent
c4ffbb00e2
commit
0fa18af48e
18 changed files with 311 additions and 221 deletions
22
ansible/templates/nginx-config.j2
Normal file
22
ansible/templates/nginx-config.j2
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
server {
|
||||
listen 80 default_server;
|
||||
listen [::]:80 default_server;
|
||||
server_name {{ butter_name }}.local;
|
||||
|
||||
location ^~ /chat {
|
||||
alias /var/www/html/chat;
|
||||
}
|
||||
|
||||
location ^~ /raspap {
|
||||
alias /var/www/html/raspap;
|
||||
}
|
||||
|
||||
location ^~ /_matrix {
|
||||
proxy_pass http://localhost:8008;
|
||||
}
|
||||
|
||||
location / {
|
||||
proxy_pass http://localhost:5000;
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue