This commit is contained in:
makram89 2022-01-30 17:03:16 +01:00
parent 3f25594788
commit 819139c42a
3 changed files with 6 additions and 3 deletions

View File

@ -4,9 +4,12 @@ map $http_upgrade $connection_upgrade {
} }
upstream django { upstream django {
server localhost:8080; # server localhost:8080;
server unix:///home/randomsec/Randomsec/uwsgi-file/muor.sock
} }
server { server {
if ($host = randomsec.projektstudencki.pl) { if ($host = randomsec.projektstudencki.pl) {
return 301 https://$host$request_uri; return 301 https://$host$request_uri;

View File

@ -6,7 +6,7 @@ pidfile=/home/randomsec/uwsgi-file/project-master.pid
vacuum=True vacuum=True
max-requests=5000 max-requests=5000
daemonize=/home/randomsec/RandomSec/log/logs.log daemonize=/home/randomsec/RandomSec/log/logs.log
socket=0.0.0.0:8080 socket=/home/randomsec/RandomSec/uwsgi-file/muor.sock
buffer-size=32768 buffer-size=32768
plugins = python3 plugins = python3