mirror of
https://github.com/KingDuckZ/kamokan.git
synced 2024-11-23 00:33:44 +00:00
Update with fixed nginx config
This commit is contained in:
parent
00aa06282d
commit
50fb5ceb81
1 changed files with 6 additions and 6 deletions
|
@ -7,14 +7,14 @@ server {
|
||||||
#access_log logs/host.access.log main;
|
#access_log logs/host.access.log main;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
root /srv/http/tawashi;
|
|
||||||
index index.cgi;
|
index index.cgi;
|
||||||
}
|
|
||||||
location ~ \.cgi$ {
|
|
||||||
include uwsgi_params;
|
include uwsgi_params;
|
||||||
uwsgi_modifier1 9;
|
uwsgi_modifier1 9;
|
||||||
uwsgi_pass unix:/run/uwsgi/tawashi.sock;
|
uwsgi_pass unix:/run/uwsgi/tawashi.sock;
|
||||||
}
|
}
|
||||||
|
location ~ (\.css$|Pictures/) {
|
||||||
|
root /srv/http/tawashi;
|
||||||
|
}
|
||||||
|
|
||||||
#error_page 404 /404.html;
|
#error_page 404 /404.html;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue