Skip to content
WJunction - Webmaster Forum

have two mysite.conf (in nginx)

Status
Not open for further replies.
i have a script in mydomain.com/folder that requires to use rewrite rules but my main site not, so i dont know if i must paste de code in my domain.conf or whai i must do?


thanks
 

1 comment

huh?
i don't really know what's your problem.

you can have two configs, or even more, that's not a problem.
though nxing won't do the rewrites that are in the .htaccess files, since they are made normally for apache.
For nxing you have to specify the rewrites in the config of the site.
If the rewrites don't collide with existing code, you can put them in one config-file.

if you want to rewrite mydomain to domain
you must somewhere specify what to do with domain
 
Status
Not open for further replies.

About the author

F
Active Member · Joined
354
Messages
57
Reactions
28
Points

Advertise on WJunction

Reach 1000's of webmasters, hosts & affiliates. Banner & sponsored-thread slots available.

Contact us
Back
Top Bottom