Created
June 27, 2012 21:15
-
-
Save omares/3006901 to your computer and use it in GitHub Desktop.
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 { | |
root /Users/otamares/development/rebus/master/public; | |
server_name rebus; | |
index index.php index.html index.htm; | |
location / { | |
try_files $uri $uri/ /index.php$is_args$args; | |
} | |
location ~ \.php$ { | |
fastcgi_pass 127.0.0.1:9000; | |
fastcgi_index index.php; | |
include fastcgi_params; | |
} | |
location ~ /\.ht { | |
deny all; | |
} | |
location /stream/publish { | |
push_stream_publisher admin; | |
push_stream_store_messages on; | |
set $push_stream_channel_id $arg_id; | |
} | |
location ~ /stream/vm/(.*?)/status { | |
push_stream_subscriber; | |
push_stream_subscriber_connection_ttl 3m; | |
push_stream_eventsource_support on; | |
push_stream_authorized_channels_only on; | |
set $push_stream_channels_path $1; | |
} | |
location ~ /stream/vm/commands { | |
push_stream_subscriber; | |
set $push_stream_channels_path "command"; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment