Simpler nginx install #288
Replies: 7 comments
-
Hi @mariusa. Cool idea. Can you qualify "nowadays"? I think it's important to make sure older boxes are supported to some degree. |
Beta Was this translation helpful? Give feedback.
-
I don't have an Ubuntu OS around, but I see this https://github.com/piku/piku/blob/master/docs/ubuntu-18.04-bionic.md I wouldn't like to get stuck to old ways and not being able to use it (easily) on a new system. Similar to software libs, a branch & git release could be created with the current version, then start evolving the main branch to newer systems. |
Beta Was this translation helpful? Give feedback.
-
Ah yep of course. I'm going to set up tests on |
Beta Was this translation helpful? Give feedback.
-
I can test that as well. TBH I see Piku boxes as single-purpose things and don't mind overwriting |
Beta Was this translation helpful? Give feedback.
-
Moving this to discussions, we can continue there. |
Beta Was this translation helpful? Give feedback.
-
Done in INSTALL-centos (PR open) There's an issue for me though. After doing
Found a solution here https://stackoverflow.com/questions/53454739/nginx-upstream-failure-configuration-file |
Beta Was this translation helpful? Give feedback.
-
solved in latest PR, it was my setup |
Beta Was this translation helpful? Give feedback.
-
Hi,
Nowadays
nginx
already comes with/etc/nginx/nginx.conf
which has a default server running on port 80.This is overwritten by https://raw.githubusercontent.com/piku/piku/master/nginx.default.dist
Instead, the only line that needs to be added is
include /home/piku/.piku/nginx/*.conf;
Since
nginx.conf
also hasinclude /usr/share/nginx/modules/*.conf;
I think it's best to leave that alone and simply create a
/usr/share/nginx/modules/piku.conf
file which hasinclude /home/piku/.piku/nginx/*.conf;
Beta Was this translation helpful? Give feedback.
All reactions