1
0
mirror of synced 2024-11-30 16:54:30 +01:00
bemaniutils/examples/nginx/api.nginx
2020-05-12 21:00:54 +00:00

18 lines
409 B
Nginx Configuration File

server {
server_name your-domain.com;
listen 9573 ssl;
server_tokens off;
gzip on;
gzip_types application/json;
gzip_min_length 1000;
ssl_certificate /path/to/certboot/your-domain.com/fullchain.pem;
ssl_certificate_key /path/to/certboot/your-domain.com/privkey.pem;
location / {
include uwsgi_params;
uwsgi_pass unix:/path/to/your/root/api.sock;
}
}