daddy/misc/debian/nginx/daddy.conf

15 lines
301 B
Plaintext
Raw Normal View History

2020-06-17 18:58:27 +02:00
server {
listen 80 default_server;
server_name daddy.local;
root /usr/share/daddy/client/public;
index index.html;
location / {
try_files $uri /index.html =404;
}
location /api/v1/graphql {
proxy_pass http://127.0.0.1:8080/api/v1/graphql;
}
}