added nginx config

This commit is contained in:
Alexander Popov 2023-08-06 03:56:47 +03:00
parent 878017ed8b
commit 5be5ee5e40

15
server/nginx.conf Normal file
View File

@ -0,0 +1,15 @@
server {
listen 80;
listen 443 ssl;
server_name a2s.su;
ssl_certificate fullchain.pem;
ssl_certificate_key privkey.pem;
root /home/alex/Sites/a2s.su/www;
location /api/ {
proxy_pass http://127.0.0.1:50009;
}
}