Hello
I have many custom redirections i need to keep on nginx vhost config files for two of my sites. Everytime i run a verify task on the site all the lines disappear, how can i solve that ?
Thanks

Comments

omega8cc’s picture

Status: Active » Closed (works as designed)

Have you read the how-to, which is linked on the project page?

yazzou’s picture

Thank you. What about cronjobs ? Everytime i run an upgrade of barracuda they disppear

omega8cc’s picture

How is this related to this issue? Please open a separate, proper issue. Thanks.

yazzou’s picture

Ok i have reopened an issue here
http://drupal.org/node/1921354
regards
yazzou

yazzou’s picture

Hello
I have created the following file : nginx_vhost_include.conf

in the following directory : /data/disk/MYOCTOPUS_USER/config/includes

I have included all the custom redirects to be applied to ONE of my hosted drupal site. Exemple :

server {
rewrite ^/([A-Za-z0-9-]+)/feed/rss/Page-([0-9]+).html http://www.mysite.com/flux.xml permanent;
}

I see no difference after restarting NGINX. Is there something i am missing ?

Thanks
Yaz

omega8cc’s picture

Project: Barracuda » Octopus
Component: Nginx Server » Miscellaneous

This is totally wrong place to put extra rewrites for Octopus instance (you have confused it with Barracuda instance) - please *study* the how-to: http://drupalcode.org/project/barracuda.git/blob/HEAD:/docs/HINTS.txt

omega8cc’s picture

Component: Miscellaneous » Nginx Configuration
omega8cc’s picture

Also, you don't use server {} there. PLEASE READ THE HOW-TO.