Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Shells Virtual Desktop
BMail.ag - Secure Email Service
Server.net
CPLicense.net
VPS Server
Buy VPN
Vultr
VMs for AI
HostDare
ReliableSite White-Label Dedicated Hosting for Resellers
InterServer VPS
BMail.ag - Secure Email Service
Best VPN
High-Performance Bare Metal Server Solutions
Karvl.com
Server Mania Cloud Hosting
DataWagon Hosting
AlphaVPS Hosting
Evoxt.com
Clouvider
VPS Hosting with NVMe
Residential IPs in the US & 4G Mobile Proxies in EU & US with Unlimited Bandwidth
ReliableSite White-Label Dedicated Hosting for Resellers
Rabisu - Hosting Solutions
Shells Virtual Desktop
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

apache vs nginx

miklosmiklos Member
edited December 2015 in General
location ~ /.well-known {
      location ~ /.well-known/acme-challenge/(.*) {
              more_set_headers    "Content-Type: application/jose+json";
      }
}

how can make this in apache?

Comments

  • Hehe letsencrypt domain validation

    It's easy with nginx, not sure Apache. You just need to create that "folder" and file

    Thanked by 1miklos
  •   <LocationMatch "/.well-known/acme-challenge/*">
        Header set Content-Type "application/jose+json"
      </LocationMatch>
    
    Thanked by 1raindog308
  • rokokrokok Member
    edited December 2015

    You need to "create" that 2 folder and the generated file. Yesterday I try on nginx and don't even set header content type just serve directly the file, it get validated.

    Thanked by 1miklos
  • @rokok said:
    You need to "create" that 2 folder and the generated file. Yesterday I try on nginx and don't even set header content type just serve directly the file, it get validated.

    where you know what file will be generated? to create before?

  • If you not using that pyton things, you need to add it manually.

  • eva2000eva2000 Veteran
    edited December 2015

    FYI, the LE specs have changed requirement from application/jose+json to text/plain (or empty) content type now ;)

  • @eva2000 said:
    FYI, the LE specs have changed requirement from application/jose+json to text/plain (or empty) content type now ;)

    its need a code text in that file what is called

  • Use caddy

  • @TinyTunnel_Tom said:
    Use caddy

    Yes may be but i prefer non php-fpm things so LAMP :P

Sign In or Register to comment.