[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

Can it replace Apache?

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 57
Thread images: 1

File: NGINX_logo_rgb-01.png (18KB, 626x144px) Image search: [Google]
NGINX_logo_rgb-01.png
18KB, 626x144px
Can it replace Apache?
>>
>>58644480
Yes
/thread
>>
i'd even use thttpd before apache
>>
>>58644480
Not today. As far as I know, LDAP module is stil trash. Other than that, it's better than Apache.
>>
It already has tbqh
>>
>>58644480
it replaced apache over 10 years ago.

are you a pajeet or something?
>>
>>58644480
nginx is the answer of all webserver and webdev questions. srsly, apache is against nginx absolutly bullshit and trash. watch at the ressources, loadbalancing and and and.
fck off with this apache crap.
>>
>>58644774
We use apache httpd as standard webserver. It's fun having another bottleneck to cater to.

Also, should I abandon lighttpd in favour of nginx?
Is it that efficient? I'd also like passable directory views and ssl client authorization to work, does it do that too?
>>
>>58644890
sure
>>
>can

it already has.
>>
>>58644480
Anything that isn't communist works
>>
>>58644890
>Is it that efficient? I'd also like passable directory views and ssl client authorization to work, does it do that too?

Honestly if you've got all that already configured in lighttpd, I don't see any benefits for you in moving to nginx.
>>
>>58644480
>run nginx and gogs for selfhosted git
>99.9% of the time everything is perfect
>once in a blue moon I the git subdomain stops working
>nothing in logs
>restarting nginx fixes it

aside from my anecdote I've had no problem with it
also I only recently realised it's supposed to be "engine X", I used to say "nuhjincks"
>>
>>58644939
It's really just a couple of lines in the config file, I wouldn't mind.
So, does nginx have non-retarded tls and directory view support?
>>
>>58644480
there is no competition
apache is crap
>>
>>58644982
directory view is achieved using the autoindex module; http://nginx.org/en/docs/http/ngx_http_autoindex_module.html

A typical TLS website configuration is a breeze, so yeah I would say it's not retarded. I've never implemented ssl client auth using nginx however so I can't tell you about that.
>>
>>58645021
though perhaps this is what you want: http://nginx.org/en/docs/http/ngx_http_ssl_module.html#ssl_verify_client
>>
>>58644946
>also I only recently realised it's supposed to be "engine X", I used to say "nuhjincks"

Yeah, I initially pronounced it "engincks"

It also took me a while to find out that lighttpd is pronounced "lighty", although I'm not sure how I was supposed to get that.
>>
i prefer lighttpd
>>
How would you replace Apache Tomcat then? Genuinely interested, I'm only using it because I already know my way around it.
>>
Why not use both apache and nginx? A lot of installations I work with use nginx as a proxy and pass requests through to apache.

Apache's main weakness next to nginx is that it can't handle as many connections through not being architected to use async/epoll based IO, but apache's probably still a bit more flexible.

So use nginx as a proxy to stop hordes of users holding sockets open and hogging apache's limited processes..
>>
>>58644890
> It's fun having another bottleneck to cater to.
> Waah we're being replaced by Pajeets, not fair!
>>
>>58644480
OK i have a question for someone proficient in networks.

I run nginx on my laptop.
I can reach http://localhost:/index.html
So I am hosting the website.

I can access it from other laptop
something like http://192.168.1.4/index.html

We are in same newtork so things are accessible.

How do I make one of you fellow anon to access it?
>>
>>58644480
Has it not already?
>>
>>58645491
Put it in front of your NAT.

https://dyn.com/dns/

Port forwarding etc.

But in a very real sense, FUCKING DON'T.

If you trust the people on this board to poke your laptop, you *are* wrong to, and they're not going to be the only people trying to get in.

If you want to set up a webserver, get a webserver - they're not expensive.
>>
>>58645491
Sounds like you're behind a nat server.
You'll need to forward port 80 to the machine you're hosting the site on. 192.168.1.4 in this case.
>>
>>58645491
Port forwarding on your Internet-facing router from a port of your router to 192.168.1.4:80.

Then we reach it via your routers IP, which "should" be reassigned ever so often. So you can use a service like dyndns, to give us a static URL where we can find you.

I run duckdns on my Raspberry Pi to always reach my home VPN for example.
>>
>>58645519
>>58645520
NAT?
Network allocation table or what?
So tell me how do hacker and illegal website survive on internet. don't they host web sever on their own PC?
If you run a child porno website then web hosting service company would know and you are caught.
Just giving example I am not into porno.
>>
>>58645544
Network address translation.

Addresses of the form 192.168.x.x are for local use, and meaningless on the wider internet. Typically home routers assign an address in this range and then translate outgoing traffic to appear to be from the public IP, as a means of allowing multiple computers on the home network to share one public address..
>>
>>58645568
Lets say my public IP is 172.443.232.21
Can u accèss the file i put in Nginx server.
http://172.443.232.22:/index.html?
>>
>>58645590
That will be doable if you set your router to forward port 80 to the correct local machine.
>>
>>58645535
You mean to say your router's address changes frequently but you are able to access you home VPN from other network by using dickens?
If yes do they charge?
Would not they have access to your VPN ?
>>
>>58645544
Right;
Firstly I don't think you know enough about setting up a secure network to attach your laptop to the public internet.

> So tell me how do hacker and illegal website survive on internet. don't they host web sever on their own PC?
Er, no. "hacker" do not host web server on own PC.
"hacker" will steal other people's poorly defended boxes, like yours at a guess.

Also, do some reading on what VPN's are, how TOR works and what "encryption" is. You might find those subjects enlightening.

> If you run a child porno website then web hosting service company would know and you are caught.
See above.
>Just giving example I am not into porno.
Bollocks.
>>
>>58645590
log into your router (probably http://192.168.1.1 judging from a previous post)
look for "port forwarding", likely under one or more of "advanced", "NAT", "firewall".
adding a rule will require a few values to be set, namely;
protocol: TCP
from port: 80
to port: 80
to ip/host: <your server's LAN ip, such as 192.168.1.2>
then hit save/apply

word of caution, this allows anyone to communicate to your servers' port 80 from anywhere on the internet!
be very careful about what you port forward, and what you set up to listen on those ports, using vulnerable configurations or software may make you a target for attacks
>>
>>58645590
More to the point, what is it you want to share?
>>
>>58644511
>LDAP
what is this, the 90s?
>>
>>58645772
Nah mate 80's, haven't you seen the news?
>>
>>58645753
>>58645734
>>58645674
Where is 4chan's web server located?
>>
>>58645021
>>58645039
Cool, thanks, I'll read up on it on my way home.
>>
>>58645831
Ya I have. It's all about kerberos now.
>>
>>58644480

Nginx is already replacing bloated old Apache
>>
>>58645342
By bundling a servlet container in your jars from hell?

Apache tomcat is not even comparable to the likes of httpd or nginx
>>
>>58645440
That was before we hired Indians. It's Chinese now though.
Also what was your train of thought there, I really couldn't follow that.
>>
>>58645535
I do too, which model?
>>
>>58645610
Duckdns has 5 free addresses I believe. They wouldn't. All duckdns knows is my IP, they don't have my private server keys or anything.

>>58645960
Pi 3b and Orange Pi One, works fine for casual use.
>>
>>58644480
It has in a lot of places
>>
>>58644482
this
>>
>>58645950
You either do you job better than anybody else or get replaced by a cheap workforce.
>>
>>58645905
*shrug*

Don't know, don't really care.

https://who.is/whois/4chan.org/

Looks like it's behind cloudflare CDN, so (at a wild guess) some cloud hosting provider.

Amazon/Google?

Crucially not in the "4chan office" or mootykin's basement.
>>
>>58645342
wut.

I mean, Glassfish, JBoss, DragonFly if you're all turned on by containers and slow deployments and memory leaks :P

Jetty in the app and nginx out front, if you haven't drunk the Java EE kool-aid.
>>
>>58644480
Superior Slavic Computer Programming, so yes.
>>
>>58647111
wew lad the trips confirmed it

get fucked apache users
>>
How do you event pronounce nginx?

Engine - Ecks ?
>>
>>58647270
Engine X
>>
>>58647270
engeenx
>>
>>58646752
Okay, that was your angle.
For me it was a technical argument, that we have to use this baroque piece of software to do ssl/tls, serve some log files and push through requests via ajp. Not really rocket science necessitating the all mighty Apache httpd. But since it's our "corporate architecture" it's the default, even for really small applications, some of which will have a horrid configuration.

Guess what I try to say is, big IT can suck royal ass.
>>
>>58646464
Yup, five for free. Afraid.org is also somewhat competent in regards of free names. They have a shitload to choose from.

How's the orange with community/vendor support? That's the reason I got the pi 3b, as I was afraid, I'll be stuck without docs and drivers with some other board. There's even an article in the gentoo wiki for it, so getting that to run was really straight forward.
Thread posts: 57
Thread images: 1


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.