Created
October 4, 2012 15:51
-
-
Save wokamoto/3834541 to your computer and use it in GitHub Desktop.
網元用 サブドメイン型マルチサイト WP nginx 設定例 (backend.conf)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
listen unix:/var/run/nginx-backend.sock; | |
server_name example.com *.example.com; | |
root /var/www/vhosts/example.com; | |
index index.php index.html index.htm; | |
access_log /var/log/nginx/example.com.backend.access.log backend; | |
keepalive_timeout 25; | |
port_in_redirect off; | |
gzip off; | |
gzip_vary off; | |
#include /etc/nginx/wp-singlesite; | |
include /etc/nginx/wp-multisite-subdir; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment