[FR/EN] Probleme Conf Nginx pour monter un sous domaine / Conf Nginx Issue for mounting a subdomain

Hello all,

Another brick in the wall of my diaspora*'s installation !! Well my issue today is on my Nginx configuration. My Pod Diaspora* seems to work correctly so now i’d like to add a subdomain to add a blog like Wordpress to my domain. The URL i want is blog.dicespora.net.

So i added a conf file in my “/etc/nginx/conf.d/” called “wordpress.conf” of which here is the content :

https://pastebin.com/kLSK8qCM

But when i go on my subdomain in my browser, i should arrive in the folder where are the blog files (/var/www/wordpress) but i always arrive on my pod whereas the URL is ok (blog.dicespora.net)

Here also the main conf of my diaspora pod :slight_smile:

https://pastebin.com/pRrQiJCV

Many thanks for your help and advices

Scott


Salut la communauté francophone !

Encore une brique dans le mur de l’aventure de mon installation Diaspora*
Le billet du jour concerne un souci de paramétrage de conf Nginx. Mon Pod Diaspora semble fonctionner correctement donc j’aimerais ajouter un blog style Wordpress dans un sous domaine. L’URL voulue est “blog.dicespora.net”.

Donc j’ai ajouté une conf nginx pour mon sous domaine dans le dossier “/etc/nginx/conf.d” (wordpress.conf). Le souci c’est que quand dans mon navigateur je tape l’URL de mon sous domaine (blog.dicespora.net) je tombe systématiquement sur mon pod diaspora et ce même avec l’URL de mon sous domaine. Voici la conf de mon sous domaine :

https://pastebin.com/kLSK8qCM

Voici également la conf Nginx principale de mon Pod :slight_smile:

https://pastebin.com/pRrQiJCV

Merci beaucoup pour votre aide et vos conseils

Scott

Nobody to help me :’( ?