Skip to content
Permalink
Browse files

Added an vhost example for NginX

  • Loading branch information...
Frederik Boster authored and PeeHaa committed Oct 4, 2014
1 parent fc4a7cc commit 5e054c995886c64e3048513819d1b56a60a90b32
Showing with 16 additions and 0 deletions.
  1. +1 −0 support/htpasswd.example
  2. +15 −0 support/nginx_vhost.example
@@ -0,0 +1 @@
TestUser:2CfnzNu8dxqjs
@@ -0,0 +1,15 @@
server {
listen 80;
server_name opcachegui.example.com;
root /var/www/OpCacheGUI/public;

auth_basic "OpCacheGUI Login";
auth_basic_user_file /var/www/OpCacheGUI/.htpasswd;

try_files $uri $uri/ /index.php;

location ~* \.php$ {
include fastcgi_params;
fastcgi_pass /var/run/php5-fpm.sock;
}
}

0 comments on commit 5e054c9

Please sign in to comment.
You can’t perform that action at this time.