migration of open-etc-friends-pool for use with Etica/EGAZ
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.
 
 
 
 
 
 

19 lines
263 B

upstream api {
server 127.0.0.1:8080;
}
server {
listen 0.0.0.0:80;
root /var/www/etc2pool;
index index.html index.htm;
server_name localhost;
location /api {
proxy_pass http://127.0.0.1:8080;
}
location / {
try_files $uri $uri/ /index.html;
}
}