Hey I’ve tried Apache and Nginx and can’t get either working with the image from the DigitalOcean Marketplace. So Here’s what I have:
I’ve tried:
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
I finally figured it out in Apache!!! For anyone trying to get gitea running on Apache with a domain or subdomain, install apache:
Next fix apache. There’s a localhost error that’s built into apache that drives me nuts… to fix it run:
Next fix apache for gitea. If you’re using a Gitea droplet apache will have thrown an error during install. This is ok, it’s just cuz its trying to initialize with a default setup on port 80 and Gitea is config’d to that port on DigitialOcean’s image. So to disable 000-default
Then there are 2 apache mods required, so to install those type:
Next create, enable, and edit a new conf file for apache:
Then add setup the reverse proxy
Finally restart apache (if you get an error about it already being stopped it’s cuz it never started because of the droplet error)