Author |
Message |
miki
Joined: 02 Nov 2009 Posts: 13
|
Posted: Mon 02 Nov 2009, 08:43 Post subject:
nginx webserver |
|
Hi everyone!
I'm entering the kennels with a tiny yet powerful HTTP server and mail proxy server written by Igor Sysoev, called nginx.
More info on the apps' wiki.
Note: I compiled this on puppy 4.30, with default options.
If you need more extras: compile one yourself
After installing you have to navigate to /usr/local/nginx/.
There are no menu entries in the PET.
|
Back to top
|
|
 |
nicomate
Joined: 29 Jun 2012 Posts: 6 Location: Tokyo, Japan
|
Posted: Fri 29 Jun 2012, 05:58 Post subject:
nginx 1.0.14.pet Subject description: nginx |
|
i am posting a nginx 1.0.14.pet, compiled in slacko. works great.
|
Back to top
|
|
 |
Tatyana
Joined: 12 Jan 2016 Posts: 2
|
Posted: Tue 12 Jan 2016, 15:17 Post subject:
Re: nginx webserver |
|
miki wrote: | Hi everyone!
I'm entering the kennels with a tiny yet powerful HTTP server and mail proxy server written by Igor Sysoev, called nginx.
More info on the apps' wiki.
Note: I compiled this on puppy 4.30, with default options.
If you need more extras: compile one yourself
After installing you have to navigate to /usr/local/nginx/.
There are no menu entries in the PET. |
How to download?
|
Back to top
|
|
 |
Tatyana
Joined: 12 Jan 2016 Posts: 2
|
Posted: Tue 12 Jan 2016, 15:18 Post subject:
Re: nginx 1.0.14.pet Subject description: nginx |
|
nicomate wrote: | i am posting a nginx 1.0.14.pet, compiled in slacko. works great. |
How to download?
|
Back to top
|
|
 |
Semme

Joined: 07 Aug 2011 Posts: 7827 Location: World_Hub
|
Posted: Tue 12 Jan 2016, 15:26 Post subject:
|
|
Which pup Tatyana? Via PPM, the pkg+deps are available for both Slacko and Tahr..
Code: | sh-4.1# nginx -h
nginx version: nginx/1.x.xx
Usage: nginx [-?hvVt] [-s signal] [-c filename] [-p prefix] [-g directives]
Options:
-?,-h : this help
-v : show version and exit
-V : show version and configure options then exit
-t : test configuration and exit
-s signal : send signal to a master process: stop, quit, reopen, reload
-p prefix : set prefix path (default: /usr/local/nginx/)
-c filename : set configuration file (default: /etc/nginx/nginx.conf)
-g directives : set global directives out of configuration file |
|
Back to top
|
|
 |
s243a
Joined: 02 Sep 2014 Posts: 840
|
Posted: Sat 19 Nov 2016, 05:36 Post subject:
|
|
Semme wrote: | Which pup Tatyana? Via PPM, the pkg+deps are available for both Slacko and Tahr..
Code: | sh-4.1# nginx -h
nginx version: nginx/1.x.xx
Usage: nginx [-?hvVt] [-s signal] [-c filename] [-p prefix] [-g directives]
Options:
-?,-h : this help
-v : show version and exit
-V : show version and configure options then exit
-t : test configuration and exit
-s signal : send signal to a master process: stop, quit, reopen, reload
-p prefix : set prefix path (default: /usr/local/nginx/)
-c filename : set configuration file (default: /etc/nginx/nginx.conf)
-g directives : set global directives out of configuration file |
|
Cool, I'm going to give it a try. I want to use it as a proxy to redirect local host to another ip address on my local network. Skimming some scripts here it looks like it might be possible:
https://gist.github.com/soheilhy/8b94347ff8336d971ad0
The reason I want to do this is that I want the links to a page on freenet to look the same whether I'm running it locally or connecting to it from a remote computer.
and some unrelead links for my reference later:
https://www.nginx.com/resources/wiki/
https://en.wikipedia.org/wiki/Nginx
http://puppylinux.org/wikka/Nginx
|
Back to top
|
|
 |
s243a
Joined: 02 Sep 2014 Posts: 840
|
Posted: Sun 20 Nov 2016, 06:52 Post subject:
|
|
s243a wrote: | Semme wrote: | Which pup Tatyana? Via PPM, the pkg+deps are available for both Slacko and Tahr..
Code: | sh-4.1# nginx -h
nginx version: nginx/1.x.xx
Usage: nginx [-?hvVt] [-s signal] [-c filename] [-p prefix] [-g directives]
Options:
-?,-h : this help
-v : show version and exit
-V : show version and configure options then exit
-t : test configuration and exit
-s signal : send signal to a master process: stop, quit, reopen, reload
-p prefix : set prefix path (default: /usr/local/nginx/)
-c filename : set configuration file (default: /etc/nginx/nginx.conf)
-g directives : set global directives out of configuration file |
|
Cool, I'm going to give it a try. I want to use it as a proxy to redirect local host to another ip address on my local network. Skimming some scripts here it looks like it might be possible:
https://gist.github.com/soheilhy/8b94347ff8336d971ad0
The reason I want to do this is that I want the links to a page on freenet to look the same whether I'm running it locally or connecting to it from a remote computer.
and some unrelead links for my reference later:
https://www.nginx.com/resources/wiki/
https://en.wikipedia.org/wiki/Nginx
http://puppylinux.org/wikka/Nginx |
It worked.
I installed the files from the puppy package manager
I coppied the config file from the link at:
https://gist.github.com/soheilhy/8b94347ff8336d971ad0
I modified the line which says proxy pas in the config file in the server section
Code: |
server {
listen 8888;
server_name localhost;
#charset koi8-r;
#access_log logs/host.access.log main;
location / {
proxy_pass http://192.168.1.67:8888/;
}
|
and moved the configuration file so that it had the following path.
/etc/nginx/nginx.conf
Run the server by
/usr/sbin/nginx
and if you need to reload the configuration file type
/usr/sbin/nginx -s reload.
Code: |
server {
listen 8888;
server_name localhost;
#charset koi8-r;
#access_log logs/host.access.log main;
location / {
proxy_pass http://192.168.1.67:8888/;
}
|
PS. there was one other modification I needed to make. On the first line of the configuration where it says
change it to:
Which is simply removing the comment mark so that the statement is executed.
|
Back to top
|
|
 |
|