Rename
This commit is contained in:
parent
513f24e655
commit
dac20bd212
|
@ -3,6 +3,5 @@ chown www-data:www-data -R src
|
||||||
cp diff.service /lib/systemd/system/
|
cp diff.service /lib/systemd/system/
|
||||||
systemctl enable --now diff
|
systemctl enable --now diff
|
||||||
sudo systemctl daemon-reload
|
sudo systemctl daemon-reload
|
||||||
sudo systemctl restart diff-diff
|
sudo systemctl restart diff
|
||||||
|
|
||||||
|
|
||||||
|
|
15
diff.conf
15
diff.conf
|
@ -1,15 +0,0 @@
|
||||||
server {
|
|
||||||
listen 80;
|
|
||||||
server_name diff.digitalstudium.com;
|
|
||||||
client_max_body_size 0;
|
|
||||||
|
|
||||||
location / {
|
|
||||||
include uwsgi_params;
|
|
||||||
uwsgi_pass unix:///tmp/diff.sock;
|
|
||||||
proxy_buffering off;
|
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
|
||||||
proxy_set_header X-Forwarded-Host $host;
|
|
||||||
proxy_set_header X-Forwarded-Port $server_port;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
Loading…
Reference in New Issue