Your post content was formatted bold because the text was read like if it was Markdown syntax, where #
defines a title. I have added a code block around your text so now it renders as plain text.
The x
at the end of the file should indeed not be there. You can remove it.
You can see the original file at https://github.com/flarum/flarum/blob/v1.3.0/.nginx.conf
For the 403 error, maybe it's a file permission issue? Maybe your nginx user cannot read the public
folder content?