server {
listen 80;
listen [::]:80;
server_name example.com;
root /home/deploy/example-com/dist;
index index.html;
gzip_static on;
location / {
try_files $uri $uri/ =404;
}
location /form {
proxy_pass http://form_data/form;
}
}
root /home/deploy/example-com/dist;