Howdy, Stranger!

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


apache vs nginx
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.