You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
swarms/api/nginx/site.conf

15 lines
414 B

# from https://github.com/neamaddin/debian-fastapi-server
server {
listen [::]:80;
listen 80;
server_name swarms;
access_log ROOT/var/log/nginx/swarms/access.log;
error_log ROOT/var/log/nginx/swarms/error.log;
add_header X-Content-Type-Options "nosniff" always;
add_header X-XSS-Protection "1; mode=block" always;
location / {
proxy_pass http://127.0.0.1:8000;
}
}