-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathtools-init.nginx.yml
37 lines (37 loc) · 1011 Bytes
/
tools-init.nginx.yml
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
nginx:
locations:
- fastcgi: 'on'
root: public_html/
passenger:
enabled: 'off'
match: /phpmyadmin/
- fastcgi: 'on'
root: public_html/
passenger:
enabled: 'off'
match: /phppgadmin/
- fastcgi: 'on'
root: public_html/
passenger:
enabled: 'off'
match: /phprdadmin/
- root: public_html/webssh/webssh/static
passenger:
app_root: public_html/webssh
enabled: 'on'
app_start_command: python run.py --port=$PORT
document_root: public_html/webssh/webssh/static
rewrite: ^/webssh/(.*)$ /$1 break
match: /webssh/
- root: public_html/webssh2/app/client/public
passenger:
app_root: public_html/webssh2/app
app_start_command: env PORT=$PORT node app.js
enabled: 'on'
document_root: public_html/webssh2/app/client/public
match: /ssh/
- match: /
fastcgi: 'on'
index: index.html index.php
root: public_html/public
ssl: 'on'