Posted: Thu Sep 04, 2008 8:50 Post subject: More than 1 webserver behind DD-WRT
Using nginx as a reverse proxy I am now able to run more than 1 webserver on my home network.
Currently nginx is still running on a Fedora-core system because nginx doesn't run (yet) on DD-WRT.
Nginx is now in the optware library but alas, it doesn't work because it needs to be compiled in a different way.
I already made a script which will write part of the config automatically.
_________________ Asus RT16N + OTRW
Kingston 4GB USB-disk 128 MB swap + 1.4GB ext3 on /opt + 2 GB ext3 on /mnt
Copperjet 1616 modem in ZipB-config
Asterisk, pixelserv & Pound running on router
Another Asus RT16N as WDS-bridge
Aloah !
If you are at a state of runing multiple web servers at home maybe an upgrade to a firwall distribution like IpCop might be a consequent step for you to concider.
Regards
tec _________________ 2x Buffalo WHR-HP-G300N in AP
2x Buffalo WHR-HP-G300N in WDS (not working atm)
1x Buffalo WHR-HP-G300N in Wireless Client-Bridge (not working atm)
1x Buffalo WHR-HP-G300N in Reserve (still looking for that on ebay)
No...
I love little appliances that do all the work...
More than 1 webserver doesn't mean I'm running a small hosting company. My satellite-receiver has a webserver, my xbox, my Windows machine and my NAS _________________ Asus RT16N + OTRW
Kingston 4GB USB-disk 128 MB swap + 1.4GB ext3 on /opt + 2 GB ext3 on /mnt
Copperjet 1616 modem in ZipB-config
Asterisk, pixelserv & Pound running on router
Another Asus RT16N as WDS-bridge
It is working...
Thanks to bzhou who updated the nginx in the optware feed.
I will do some testing and will write the howto asap. _________________ Asus RT16N + OTRW
Kingston 4GB USB-disk 128 MB swap + 1.4GB ext3 on /opt + 2 GB ext3 on /mnt
Copperjet 1616 modem in ZipB-config
Asterisk, pixelserv & Pound running on router
Another Asus RT16N as WDS-bridge
Don't set your expectations too high.
Although it is working fine in concept, preliminary testing shows it's a too heavy burden on the MIPS-cpu.
Discrete http-traffic is no problem, but when I was browsing my photo-website whilst looking with top on my router, I saw nginx taking up 98% of CPU and my hi-res photos were crawling.
When running nginx on my Fedora-system, this is totally not the case. I even have the feeling it speeds things up, but this can also be my enthousiasm that it's actually working ;-)
Maybe someone knows about another application that's more specific for this application. Nginx can do a lot more than what I want it to do and this may be the reason it's taking up all the processing power. It only needs to read the http-header and route everyting to the appropriate server.
I think I'll still publish an howto _________________ Asus RT16N + OTRW
Kingston 4GB USB-disk 128 MB swap + 1.4GB ext3 on /opt + 2 GB ext3 on /mnt
Copperjet 1616 modem in ZipB-config
Asterisk, pixelserv & Pound running on router
Another Asus RT16N as WDS-bridge
I will now look at haproxy to see if this will give me more performance on the DD-WRT router.
Is there someone else who tried pound or any other reverse proxy? _________________ Asus RT16N + OTRW
Kingston 4GB USB-disk 128 MB swap + 1.4GB ext3 on /opt + 2 GB ext3 on /mnt
Copperjet 1616 modem in ZipB-config
Asterisk, pixelserv & Pound running on router
Another Asus RT16N as WDS-bridge
I switched from nginx (EngineX) to Pound, which is less versatile.
It turned out it is much faster and uses less resources. I'm still testing it and I will have to change the scripts that are writing the config-file...
Hold on!
If there's anyone who tried one of the proxies, please step forward. _________________ Asus RT16N + OTRW
Kingston 4GB USB-disk 128 MB swap + 1.4GB ext3 on /opt + 2 GB ext3 on /mnt
Copperjet 1616 modem in ZipB-config
Asterisk, pixelserv & Pound running on router
Another Asus RT16N as WDS-bridge
Posted: Sun Nov 25, 2012 17:26 Post subject: Need help running nginx on my e3200...!!!
Hi frater,
I need some steps help me running nginx on my e3200. I have flashed dd-wrt.v24-19519_NEWD-2_K2.6_big-nv60k.bin onto it. Please help me
Thanks
frater wrote:
Don't set your expectations too high.
Although it is working fine in concept, preliminary testing shows it's a too heavy burden on the MIPS-cpu.
Discrete http-traffic is no problem, but when I was browsing my photo-website whilst looking with top on my router, I saw nginx taking up 98% of CPU and my hi-res photos were crawling.
When running nginx on my Fedora-system, this is totally not the case. I even have the feeling it speeds things up, but this can also be my enthousiasm that it's actually working
Maybe someone knows about another application that's more specific for this application. Nginx can do a lot more than what I want it to do and this may be the reason it's taking up all the processing power. It only needs to read the http-header and route everyting to the appropriate server.
Posted: Wed Nov 28, 2012 16:14 Post subject: Re: Need help running nginx on my e3200...!!!
Hi Frater,
I am able to run Nginx on lingsys-e3200 with dd-wrt big build.
Here I want to disable default httpd and make nginx as the default server, Please help me with some inputs...
Thanks.
gvk wrote:
Hi frater,
I need some steps help me running nginx on my e3200. I have flashed dd-wrt.v24-19519_NEWD-2_K2.6_big-nv60k.bin onto it. Please help me
Thanks
frater wrote:
Don't set your expectations too high.
Although it is working fine in concept, preliminary testing shows it's a too heavy burden on the MIPS-cpu.
Discrete http-traffic is no problem, but when I was browsing my photo-website whilst looking with top on my router, I saw nginx taking up 98% of CPU and my hi-res photos were crawling.
When running nginx on my Fedora-system, this is totally not the case. I even have the feeling it speeds things up, but this can also be my enthousiasm that it's actually working
Maybe someone knows about another application that's more specific for this application. Nginx can do a lot more than what I want it to do and this may be the reason it's taking up all the processing power. It only needs to read the http-header and route everyting to the appropriate server.
you might not be having any luck trying to find an answer in a 4 year old thread but what benefit does Nginx give you over using OTRW and Lighttpd or running an external separate webserver?
i just want to know what solution does it provide for you? _________________ Please state what make and model router plus the build number and type of DD-WRT you are using. Screen prints and a network diagram can are also helpful. Before you create a new post, use the search function. Chances are your issue has happened to someone else.