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

[FR] Running under Apache #2139

Closed
71GA opened this issue Oct 11, 2021 · 4 comments
Closed

[FR] Running under Apache #2139

71GA opened this issue Oct 11, 2021 · 4 comments
Labels
question This is a question

Comments

@71GA
Copy link

71GA commented Oct 11, 2021

Is your feature request the result of a bug?
No

Problem
I like to keep all the webpages on my server running under Apache.

Suggested solution
Is there any way that at some point Inventree (production) server will run under Apache and not under Gunicorn?

@71GA 71GA added the enhancement This is an suggested enhancement or new feature label Oct 11, 2021
@matmair
Copy link
Contributor

matmair commented Oct 11, 2021

@71GA InvenTree already runs with nginx or Apache - I for example deploy that way. The links for that are provided in the bare metal documentation. For Apache I suggest to read the following section.
https://docs.djangoproject.com/en/2.2/howto/deployment/wsgi/modwsgi/
Depending on your security needs I suggest reding up in Django in general before dropping huge amounts of property information into a unsecured instance.

@matmair matmair added question This is a question and removed enhancement This is an suggested enhancement or new feature labels Oct 11, 2021
@71GA
Copy link
Author

71GA commented Oct 12, 2021

@matmair Okay. So any general tutorial on how to run Django App insiide Apache will probably do?

@matmair
Copy link
Contributor

matmair commented Oct 12, 2021

@71GA the wsgi entry point file is

https://github.com/inventree/InvenTree/blob/master/InvenTree/InvenTree/wsgi.py

@SchrodingersGat
Copy link
Member

@71GA I'm going to close this one out now - please comment back here if you have additional issues.

If you get it working and feel that some more documentation could help other users with an apache install, please submit a PR to the inventree documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question This is a question
Projects
None yet
Development

No branches or pull requests

3 participants