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; } }