![](/static/253f0d9b/assets/icons/icon-96x96.png)
![](https://lemmy.world/pictrs/image/8286e071-7449-4413-a084-1eb5242e2cf4.png)
I only use it for reverse proxies. I still find Apache easier for web serving, but terrible for setting up reverse proxies. So I use the advantages of each one.
I only use it for reverse proxies. I still find Apache easier for web serving, but terrible for setting up reverse proxies. So I use the advantages of each one.
I updated my comment above with some more details now that I’m not on lunch.
Reverse proxy is actually super easy with nginx. I have an nginx server at the front of my server doing the reverse proxy and an Apache server hosting some of those applications being proxied.
Basically 3 main steps:
Setup up the DNS with your hoster for each subdomain.
Setup your router to port forward for each port.
Setup nginx to do the proxy from each subdomain to each port.
DreamHost let’s me manage all the records I want. I point them to the same IP as my server:
This is my config file:
server {
listen 80;
listen [::]:80;
server_name photos.my_website_domain.net;
location / {
proxy_pass http://127.0.0.1:2342;
include proxy_params;
}
}
server {
listen 80;
listen [::]:80;
server_name media.my_website_domain.net;
location / {
proxy_pass http://127.0.0.1:8096;
include proxy_params;
}
}
And then I have dockers running on those ports.
root@website:~$ sudo docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
e18157d11eda photoprism/photoprism:latest "/scripts/entrypoint…" 4 weeks ago Up 4 weeks 0.0.0.0:2342->2342/tcp, :::2342->2342/tcp, 2442-2443/tcp photoprism-photoprism-1
b44e8a6fbc01 mariadb:11 "docker-entrypoint.s…" 4 weeks ago Up 4 weeks 3306/tcp photoprism-mariadb-1
So if you go to photos.my_website_domain.net that will navigate the user to my_website_domain.net first. My nginx server will kick in and see you want the ‘photos’ path, and reroute you to basically http://my_website_domain.net:2342. My PhotoPrism server. So you could do http://my_website_domain.net:2342 or http://photos.my_website_domain.net. Either one works. The reverse proxy does the shortcut.
Hope that helps!
Off-site backups that are still local is brilliant.
Pretty much anything made by Michael Shur and Greg Daniels.
I think it’s general anxiety. I get butterflies in my stomach when I do anything off my routine. Even if it’s just hanging with friends. What do I wear, how do I get there, will I know people, should I bring something?
I love the fact that you put money in monthly like putting money in a meter. Really makes it feel anonymous with the no username or passwords.
Take an obvious picture of her with your phone. Hand out flyers with her face saying avoid this woman .
Showing who how to pirate? I only download legal open source applications with my torrents.
I can’t believe I didn’t realize the double rr after sonar and radar is mimicking pirates.
Something from Legal Eagle would be nice too.
It depends on the models you use too. There’s specific training models data out there and all you need to do is give it a prompt of “naked” or something and it’s scary good at making something realistic in 2 minutes. But yeah, there is a learning curve at setting everything up.
Forget the headphone jack. Give me back my SD card slot so I don’t need to pay for your shitty storage for my own pictures.
And possibly America’s version of silencing a Boeing whistleblower.
Multiple polls had Biden ahead of Trump before this happened too.
“The effect of Writers Block on PHD proposals.”
Given the research MatPat does for each video I wouldn’t be surprised.
But hey, that’s just a theory. A FOOD theory!
Hard disagree. Granted, it’s not what it used to be after some people leave the show but it’s still entertaining until the very end. Even season 6.
Time and place. Do I want everything on a touchscreen at home? More compact and allows more options. Yes.
While I’m trying to fumble for a control when I’m driving a 2000 lb deathtrap at 55 MPH? No.
That’s why I’ve been using Emby. Works just fine for free.