Guest User

Untitled

a guest
Oct 4th, 2011
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.59 KB | None | 0 0
  1. server {
  2.  
  3.     listen   80; ## listen for ipv4
  4.     listen   [::]:80 default ipv6only=on; ## listen for ipv6
  5.  
  6.     server_name  localhost;
  7.  
  8.     access_log  /var/log/nginx/localhost.access.log;
  9.  
  10.     location / {
  11.         root   /var/www;
  12.         index  index.html index.htm index.php;
  13.     }
  14.  
  15. server {
  16.  
  17.     listen   80;
  18.  
  19.     server_name  localhost/opencart/index.php?route=account/register;
  20.  
  21.  
  22.         location ^~ /var/www/registration/ {
  23.               rewrite ^ https://localhost/opencart/index.phproute=account/register$request_uri? permanent;
  24.                                                           }
  25.              }
  26.  
  27.  
Advertisement
Add Comment
Please, Sign In to add comment