内容へ移動
ClownWiki
ユーザ用ツール
ログイン
サイト用ツール
検索
ツール
文書の表示
以前のリビジョン
バックリンク
最近の変更
メディアマネージャー
サイトマップ
ログイン
>
最近の変更
メディアマネージャー
サイトマップ
トレース:
nginx:virtual.conf
この文書は読取専用です。文書のソースを閲覧することは可能ですが、変更はできません。もし変更したい場合は管理者に連絡してください。
<code> # # A virtual host using mix of IP-, name-, and port-based configuration # server { listen 80; server_name sakura.niji-net.com; location / { root /var/www/vhosts/sakura.niji-net.com; index index.html index.htm index.php; } location ~ .php$ { root /var/www/vhosts/sakura.niji-net.com; fastcgi_pass 127.0.0.1:9000; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; include fastcgi_params; } } server { listen 80; server_name www6004u.sakura.ne.jp; # location / { root /var/www/vhosts/www6004u.sakura.ne.jp; index index.html index.htm index.php; allow 202.215.229.102; deny all; # } location /cake/ { # if (-f $request_filename) { break; } # if (!-f $request_filename) { rewrite ^/cake/(.+)$ /cake/index.php?url=$1 last; break; } } location ~ \.php$ { root /var/www/vhosts/www6004u.sakura.ne.jp; fastcgi_pass 127.0.0.1:9000; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; include fastcgi_params; } } </code>
nginx/virtual.conf.txt
· 最終更新: 2025/02/16 13:53 by
127.0.0.1
ページ用ツール
文書の表示
以前のリビジョン
バックリンク
文書の先頭へ