added nginx config
This commit is contained in:
parent
878017ed8b
commit
5be5ee5e40
15
server/nginx.conf
Normal file
15
server/nginx.conf
Normal 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;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user