diff --git a/deploy.sh b/deploy.sh index c61f3bf..e634608 100755 --- a/deploy.sh +++ b/deploy.sh @@ -3,6 +3,5 @@ chown www-data:www-data -R src cp diff.service /lib/systemd/system/ systemctl enable --now diff sudo systemctl daemon-reload -sudo systemctl restart diff-diff - +sudo systemctl restart diff diff --git a/diff.conf b/diff.conf deleted file mode 100644 index a4af260..0000000 --- a/diff.conf +++ /dev/null @@ -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; - } - -}