Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- server {
- listen 80; ## listen for ipv4
- listen [::]:80 default ipv6only=on; ## listen for ipv6
- server_name localhost;
- access_log /var/log/nginx/localhost.access.log;
- location / {
- root /var/www;
- index index.html index.htm index.php;
- }
- server {
- listen 80;
- server_name localhost/opencart/index.php?route=account/register;
- location ^~ /var/www/registration/ {
- rewrite ^ https://localhost/opencart/index.phproute=account/register$request_uri? permanent;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment