読み込み中...
読み込み中...
nginx.confをGUIで生成
server {
listen 80;
server_name example.com;
add_header X-Frame-Options DENY;
add_header X-Content-Type-Options nosniff;
add_header X-XSS-Protection "1; mode=block";
gzip on;
gzip_types text/plain text/css application/json application/javascript text/xml;
gzip_min_length 1000;
root /var/www/html;
index index.html;
location / {
try_files $uri $uri/ =404;
}
}