-
Notifications
You must be signed in to change notification settings - Fork 788
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
[STICKY][discussion] How to setup on NGINX #622
Comments
I make it work!!!
it took me a good hour to figure it out lol this is all you need for using this amazing framework with nginx, enjoy! |
Thanks you very very much, I'll test it and work this into the readme within the next weeks. |
Well the configuration I posted before didn't work with GET requests, this one 100% works, I personally checked. Here you have an standard configuration for Nginx that works with Huge, so you can include it as a basic starting point in the documentation
|
Hello! if (!-e $request_filename) { |
Thanks, I'll close this ticket as this is now part of the readme, and the main solution here is linked from there. |
OK, so I know this is closed, but Since I spent about a day trying to figure this out I wanted to give others a solution. All the above solutions assume that the entire website is using huge. I have a client with a website that is wordpress. For various reasons, the myaccount section will not use wordpress at all, but will use huge. So, we need huge in it's own suburl. Here is the nginx config for that (to be put in the server block above any default location matches):
yes, it's a combination of a couple earlier comments, but it was non-trivial for me at least. |
Hey thank you for this framework is great, but still not 100% functional at my end...
Do you have any experience with nginx? if so can you recommend me some rewrite rules?
I am using right now...
location /{
try_files $uri $uri/ @Huge;
}
but it doesn't do it
thank you again!
The text was updated successfully, but these errors were encountered: