Nginx

サンプル:
server {
listen 443;
server_name abc.arkgame.com;

root/usr/share/nginx/www;
index index.p ...

Nginx

location/{
if ($uri ~ \.(gif|jpg|png|ico|bmp)$) {
access_log off;
}
//some code
}

Nginx

使用例

server { server_name arkgame.com; xxxx} server { server_name www.arkgame.com; return 301 $scheme://sample.com$ ...

Nginx

使用例

server { listen 80; server_name sample.com; rewrite ^ permanent;}

 

Nginx

設定内容:
# !/usr/bin/bash
log_dir=”/usr/local/nginx/logs”
back_log_dir=”/datadisk/nginx_lo ...

Nginx

設定内容:

server {
listen 80;
listen :80;

server_name www.example.com;

return 301
}
ser ...

Nginx

サンプル:
server {
listen 80;
server_name sample.com;
rewrite ^ permanent;
}