[\[Here\]](https://git.x-files.dk/ubuntu-web-server/nginx-install/src/branch/main/cfg-apps/gitea.443.conf). Also make sure that you correct the /etc/gitea/app.ini to reflect the changes as well i.e change http to https in the app.ini file and then restart Nginx and the Gitea instance.
This is needed in order to change a few configurations in app.ini which is first created when you are done with the setup screen.
cd gitea-install
sudo ./postinstall
### Custom layout
Gitea takes the favicon in form of a svg file and a png file as fallback for browsers that does not support it. A custom logo can also be used. For all 3 files goes the following. They need to be placed in the folowing directory:\
\/var\/lib\/gitea\/custom\/public\/assets\/img\/
Gitea can also serve a splash page instead of the build in one you will need to create a home.tmpl and place it in the following directory:\
\/var\/lib\/gitea\/custom\/templates\/
### Troubleshooting
Most issues will probably be caused by the fact that we all set up and configure Nginx diffrently. If you encounter problems I would suggest you look at the Nginx configuration I use