map $sent_http_content_type $expires { "text/html" epoch; "text/html; charset=utf-8" epoch; default off; } server { listen 80; # nginxがリッスンしているポート server_name your-domain; # ここにドメインをセットアップ gzip on; gzip_types text/plain application/xml text/css application/javascript; gzip_min_length 1000; location / { expires $expires; proxy_redirect off; proxy_set_header Host $host; proxy_set_header X-Real-IP $r
![NGINX](https://cdn-ak-scissors.b.st-hatena.com/image/square/7707abdc30a56c4a96d79434f96344420e8f0d9d/height=288;version=1;width=512/https%3A%2F%2Fv2.nuxt.com%2Fpreview.png)