Can it replace Apache?

Can it replace Apache?

Other urls found in this thread:

nginx.org/en/docs/http/ngx_http_autoindex_module.html
nginx.org/en/docs/http/ngx_http_ssl_module.html#ssl_verify_client
localhost:/index.html
192.168.1.4/index.html
dyn.com/dns/
172.443.232.22:/index.html?
192.168.1.1
who.is/whois/Sup
twitter.com/SFWRedditGifs

Yes
/thread

i'd even use thttpd before apache

Not today. As far as I know, LDAP module is stil trash. Other than that, it's better than Apache.

It already has tbqh

it replaced apache over 10 years ago.

are you a pajeet or something?

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.

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?

sure

>can

it already has.

Anything that isn't communist works

>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.

>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"

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?

there is no competition
apache is crap

directory view is achieved using the autoindex module; 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.

though perhaps this is what you want: nginx.org/en/docs/http/ngx_http_ssl_module.html#ssl_verify_client

>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..

> It's fun having another bottleneck to cater to.
> Waah we're being replaced by Pajeets, not fair!

OK i have a question for someone proficient in networks.

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

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

We are in same newtork so things are accessible.

How do I make one of you fellow user to access it?

Has it not already?

Put it in front of your NAT.

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.

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.

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.

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.

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..

Lets say my public IP is 172.443.232.21
Can u accèss the file i put in Nginx server.
172.443.232.22:/index.html?

That will be doable if you set your router to forward port 80 to the correct local machine.

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 ?

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.

log into your router (probably 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:

More to the point, what is it you want to share?

>LDAP
what is this, the 90s?

Nah mate 80's, haven't you seen the news?

Where is Sup Forums's web server located?

Cool, thanks, I'll read up on it on my way home.

Ya I have. It's all about kerberos now.

Nginx is already replacing bloated old Apache

By bundling a servlet container in your jars from hell?

Apache tomcat is not even comparable to the likes of httpd or nginx

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.

I do too, which model?

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.

Pi 3b and Orange Pi One, works fine for casual use.

It has in a lot of places

this

You either do you job better than anybody else or get replaced by a cheap workforce.

*shrug*

Don't know, don't really care.

who.is/whois/Sup Forums.org/

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

Amazon/Google?

Crucially not in the "Sup Forums office" or mootykin's basement.

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.

Superior Slavic Computer Programming, so yes.

wew lad the trips confirmed it

get fucked apache users

How do you event pronounce nginx?

Engine - Ecks ?

Engine X

engeenx

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.

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.