An error occured inside the change url script

What type of hardware are you using: VPS bought online
What YunoHost version are you running: 12.0.14
How are you able to access your server: The webadmin
SSH
Are you in a special context or did you perform specific tweaking on your YunoHost instance ?: no

Describe your issue

Hello,
recently I have some problems with YNH and nginx.

This is an example of the error I’m getting (I was trying to change domain for an application).

What could it be the cause?

Thank you!

Share relevant logs or error messages

https://paste.yunohost.org/raw/yikagucofa

[emerg] 1530252#1530252: "server" directive is not allowed here in /etc/nginx/conf.d/app.domain3.tld.d/my_webapp.conf:2

Sounds like maybe you tried tweaking the my_webapp conf by adding a server { .. } block in it ?

Thank you, it worked. :smiley: