#Cant setup Mainsail with Nginx

1 messages · Page 1 of 1 (latest)

hasty reef
#

I only added line 32. Everything else was default from installing nginx.

jaunty oasisBOT
#

Ahoi @hasty reef!
It looks like you did not provide all the necessary information we need to help you.
Please upload your logfiles and a detailed description of your problem.
For further information see: https://docs.mainsail.xyz/faq/getting-help/discord#provide-information
Note: We only accept .log and .txt files as log files.
This is an automated message

We are glad to help and chat with you on our Community Discord, but if you need help and want the best support possible you should, follow a few simple rules:

glass fern
#

why do you add this to your nginx.conf?

hasty reef
#

So that it uses site-enabled folder

glass fern
#

and where is the nginx log?

hasty reef
#

Cant upload it because the log is empty

glass fern
#

systemctl status?

hasty reef
#

Working

#

Its displaying something just not mainsail. I dont know how to configure that

glass fern
#

then pls post what you see

#

without any information from you, nobody can help you...

#

you just posted a default nginx.conf... nothing more...

hasty reef
#

thats from the default.conf file in the included conf.d directory. I also tried not including it already

glass fern
#

is the mainsail config file enabled?

hasty reef
#

How can I check that?

glass fern
#

why did you tried the manual installation?

hasty reef
#

because it didnt work kiauh. It was throwing an error where it was not able to setup the mainsail file in sites-available folder and also not able to then create a link in sites-enabled

glass fern
#

just open KIAUH again, remove mainsail and install it again. then post the exact error message pls

hasty reef
#

I just got it running... The mistake I did was incredibly stupid. instead of include /etc/nginx/sites-enabled/.conf; I have to use include /etc/nginx/sites-enabled/; since mainsail is not a conf but a link.

#

Thank you very much for the help

glass fern
# hasty reef Thank you very much for the help

pls close this post, when all questions are answered... but for the next time, pls post error messages, when a guide/function not work instead of doing stuff along... so its more difficult to find the original bug...