server listen 80 root var www govnohoster server_name govnohoster ga c

 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
38
39
40
41
42
43
44
45
46
server {
listen 80;
root /var/www/govnohoster;
server_name govnohoster.ga;
charset utf8;
location / {
index index.html index.php index.htm;
}
location ~ \.php {
try_files $uri $uri/ =404;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}
}
server {
listen 80;
server_name pma.govnohoster.ga;
root /usr/share/phpmyadmin/;
location / {
alias /usr/share/phpmyadmin/;
index index.php index.html index.htm;
location ~ \.php$ {
try_files $uri $uri/ =404;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_intercept_errors on;
include fastcgi_params;
}
}
}
server {
listen 80;
server_name status.govnohoster.ga;
location / {
proxy_pass http://localhost:5555/;
}
}