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
Add Nginx sample configuration file #781
Comments
It's probably going to be similar to deploying any other PHP/Laravel app. Here's what that might look like, based on what I usually use for these kinds of apps:
php.conf:
expires.conf:
options-ssl-nginx.conf (part of certbot):
Note: tailor these to your preferences, and also, I haven't actually tested this on Pixelfed. But you should be able to get this to work at minimum with
|
Thank you. With the help of other examples on the internet I can now access it via Nginx. But I still have problems accessing things. I now get 404 errors for /login and /register. |
Ok, that works now too. I will publish my nginx vhost file when all works like it should. |
Here's my configs
On my box
|
I have this thing working now, maybe I missed something. I keep the issue open, cause people still need a correct Nginx config. |
For your information: this is the Nginx vhost file I created (hostname.tld has to be changed of course):
|
@jeroenpraat You can find an example here: https://laravel.com/docs/5.7/deployment#nginx Also this is the nginx config I use for pixelfed.social:
|
Oops, didn't mean to close the issue. I will add an example config to the repo when I have a chance! |
Finally went thru all, was a bit of mixings but all good now, I did an alpha guide on how to install pixelfed, with scripts in it too and my nginx config file |
@capmisson Why did you install Elixir and those Erlang packages? |
In fact some part of dependencies I took it directly from a script I found somewhere to install pleroma + pixelfed deps, might not be needed neither. Gonna update it, thanks @jeroenpraat |
Updated it on: |
https://docs.pixelfed.org/master/requirements.html#webserver-configuration now includes an example nginx config |
Please add a sample configuration file for Nginx.
I successfully start
php artisan horizon
, but now like to access it via the webbrowser. So I'm stuck at the last step.The text was updated successfully, but these errors were encountered: