Hello, I am trying to use subdirectories instead of subdomains because my host doesn't support subdomains.
So, instead of having : - http://owncloud.example.com - http://wordpress.example.com - http://anyservice.example.com I would like to have : - http://example.com/owncloud - http://example.com/wordpress - http://example.com/anyservice I tried to do such things with `location` rules and `alias`.Example : root /var/www/mysite; location /owncloud { alias /var/www/mysite/owncloud; include /etc/nginx/conf.d/owncloud.conf; } , but services like owncloud need `location` rules too, so I finally have "location /example is outside location" errors. How can I configure nginx for this? Regards, -- ,--. : /` ) Thuban | `-' PubKey : http://yeuxdelibad.net/Divers/thuban.pub \_ KeyID : 0x54CD2F2F Envoyé à partir de mon serveur auto-hébergé
signature.asc
Description: Digital signature
_______________________________________________ nginx mailing list [email protected] http://mailman.nginx.org/mailman/listinfo/nginx
