Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- server {
- listen ${PORT};
- server_name _;
- root /var/www/asset/frontend;
- location / {
- try_files $uri $uri/ =404;
- }
- location /_next/static/ {
- proxy_pass ${PROTOCOL}://${HOST}:${PORT};
- expires 365d;
- access_log off;
- }
- error_page 404 /404.html;
- location = 404.html {
- internal;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement