vwbusguy,
@vwbusguy@mastodon.online avatar

Had a crazy idea to support tls-alpn for . I think I can make it work by setting up a container but map 443 to a high local port, then proxy all .acme_challenge to caddy, and have the same domains listed in caddy with the generated certs volume-mounted to the location that apache is set up to read, then using inotify to restart apache on change to those cert files.

https://caddy.community/t/using-caddy-to-keep-certificates-renewed/7525

francislavoie,
@francislavoie@phpc.social avatar

@vwbusguy why do you still need Apache at all?

vwbusguy,
@vwbusguy@mastodon.online avatar

@francislavoie Wasn't able to get nextcloud to work in a sub-path without the index.php in the path with caddy, as it is currently configured in Apache.

francislavoie,
@francislavoie@phpc.social avatar

@vwbusguy that definitely works 🤔 we have plenty of users on the forums who have it working. Open a topic on the forums and we can try to help.

vwbusguy,
@vwbusguy@mastodon.online avatar

@francislavoie I got it to work with the subpath, but couldn't get it to work with removing the index.php from the path. Either caddy would end up adding it back in or there would be a redirect loop. I have another instance running nextcloud on caddy so I know it works generally - I just can't recreate my existing apache setup for it on my home server. I'll probably take another look next time my cert is up for renewal.

francislavoie,
@francislavoie@phpc.social avatar

@vwbusguy php_fastcgi rewrites to index.php but sets REQUEST_URI to the original URI and passes that to PHP. That's how all PHP apps work. I don't understand the problem you're describing, hence why I ask you open a topic on the forums and fill out the help topic template with your logs etc so we can see what's going wrong.

vwbusguy,
@vwbusguy@mastodon.online avatar

Unfortunately, my current ISP blocks port 80 and I was never able to get caddyserver to be a drop-in replacement for my existing Apache config for Nextcloud, since it is currently served from a subdomain and masks the "index.php" in the URLs.

thaodan,
@thaodan@mastodon.social avatar

@vwbusguy Did you ask them why the block port 80?

vwbusguy,
@vwbusguy@mastodon.online avatar

@thaodan In the US, cable companies have territorial monopoly. The same company, Cox cable, added data caps at the beginning of the pandemic when everyone went remote. The very short answer is: because they can. The longer answer is to arbitrarily annoy you just enough that you might somehow pay them more money. Keep in mind that the upload on Cox is garbage so the "high-traffic website" excuse is absolutely bogus.

https://www.cox.com/residential/support/internet-ports-blocked-or-restricted-by-cox.html

thaodan,
@thaodan@mastodon.social avatar

@vwbusguy That a company can just restrict whatever port they see fit sounds very dark.
The U.S. is shown as so much about "freedom" from outside of the U.S., this sounds like the opposite.

Thanks for explaining.

I guess the joke about cable companies in wasn't so far off.

vwbusguy,
@vwbusguy@mastodon.online avatar

@thaodan You misunderstand - the Cable Companies enjoy the freedom to do this at will.

thaodan,
@thaodan@mastodon.social avatar

@vwbusguy Ah I see. Like to decide whom to shoot for entering my lawn (sarcasm).
Subjectivity comes into play I guess.

vwbusguy,
@vwbusguy@mastodon.online avatar
vwbusguy,
@vwbusguy@mastodon.online avatar

@thaodan It depends where you are. If you're in Los Angeles, good luck legally shooting a rabid coyote gnawing on your leg. If you're in Indiana on a farmer's land without permission, you have a non-zero chance of being shot. If you're lucky, it'll be with rock salt and not buck shot.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • InstantRegret
  • ethstaker
  • cubers
  • khanakhh
  • Durango
  • rosin
  • tacticalgear
  • magazineikmin
  • thenastyranch
  • DreamBathrooms
  • Youngstown
  • mdbf
  • slotface
  • kavyap
  • JUstTest
  • cisconetworking
  • modclub
  • osvaldo12
  • normalnudes
  • everett
  • GTA5RPClips
  • ngwrru68w68
  • Leos
  • anitta
  • megavids
  • tester
  • provamag3
  • lostlight
  • All magazines