Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

what to set NGINX_SERVER_NAME to? #2

Open
dwightmulcahy opened this issue Sep 11, 2019 · 2 comments
Open

what to set NGINX_SERVER_NAME to? #2

dwightmulcahy opened this issue Sep 11, 2019 · 2 comments
Labels
documentation Improvements or additions to documentation

Comments

@dwightmulcahy
Copy link

piku config:set NGINX_SERVER_NAME=gitea.somedomain.net
...
NGINX_SERVER_NAME is the domain name you want for the gitea server (the domain must point at the machine already).

I'm unfamiliar with gitea's setup so I don't know what to set this too... maybe expand the example a bit?

@chr15m chr15m added the documentation Improvements or additions to documentation label Sep 17, 2019
@chr15m
Copy link
Collaborator

chr15m commented Sep 17, 2019

@dwightmulcahy this is a standard Piku thing. Setting NGINX_SERVER_NAME instructs Piku to point that domain at the app. So if you're just using gitea internally you don't need to set this. If you want it to be available on the open web with a domain name then you set it (the machine must be on a public IP in that case obviously).

I will update the documentation to clarify this.

@dwightmulcahy
Copy link
Author

Yeah I figured that out later and forgot to add to this. Assume that people don't know what it is and document it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants