Quantcast
Channel: openSUSE Planet - Global
Viewing all articles
Browse latest Browse all 23305

Jörg Stephan: Job of the (to)day

$
0
0

Today i had a lot of fun (!!!!)

I worked with Nginx to establish a fill working redirect and proxy server. There are customers which like the idea of having multiple domains pointing to the same webserver. There are several ways to do this. Mostly used is apache with reddirets or proxy settings. The real way to do it in my eyes is nginx.

So what do you need, lets take a look at basic 301 redirects

server {
     server_name   test.xadmin.info;
     reweite ^  http://example.com;
}

adding this to your default.conf of nginx sets redirecting from test.xadmin.info to example.com. quite easy(!).


Viewing all articles
Browse latest Browse all 23305


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>