27 lines
382 B
Nginx Configuration File
27 lines
382 B
Nginx Configuration File
server {
|
|
listen 80 default_server;
|
|
listen [::]:80 default_server;
|
|
server_name _;
|
|
|
|
location / {
|
|
return 303 http://maszt.5g/;
|
|
}
|
|
}
|
|
|
|
server {
|
|
listen 80;
|
|
listen [::]:80;
|
|
server_name maszt.5g;
|
|
|
|
root /srv/www/maszt.5g/root;
|
|
|
|
location / {
|
|
include uwsgi_params;
|
|
uwsgi_pass unix:/run/uwsgi/app/fiveg/socket;
|
|
|
|
location /static {
|
|
alias /srv/www/maszt.5g/static;
|
|
}
|
|
}
|
|
}
|