![]() Mkdir /var/Using reverse proxy insetad with apache (alternative) G_SSL_LETS_PATH "/var/www/html/.well-known" ![]() If you are running apache on port 80 then you can do this, correct the path to be whatever you have used for apache's web path. Press OK to save the input and make the file accessible on the website.well-known and for the Physical Path field enter the location of the new well-known folder you created. Open IIS Manager and right click on the website, select “ Add Virtual Directory…“.Then on IIS add a file extension of type "." with mime type text/xml ![]() If you have IIS or Apache running on the same mail server, and it's assigned port 80 then you need to define this setting so surgemail knows where to put the challenge file:Īnd in IIS create a virtual path ".well-known" and map it to c:\surgemail\wellknown To exclude one or more domains, then copy their certificates into the ssl folders.Ĭopy surgemail\ssl\xyz.com\*.pem surgemail\lets\xyz.com G_url_redirect from=” to=” ports=”80″ Exclude some domains G_ssl_require_login "*" # Redirect users to the https url automatically. If you wish to force the use of SSL use the following settings: # Block imap/pop/smtp logins without SSL enabled for all ip addresses. Add aliases you want to also work in each domain with the ssl_alias setting, e.g.for '' you would usually use '', this dns entry must exist! Ensure each domains 'url_host' setting is the name you want to use to refer to that domains server, typically, e.g.Each domains url_host setting must point at your server.Your server must be accessable on port 80 directly to surgemail (not apache or IIS).G_ssl_perfect "true" Requirements for Lets Encrypt. NOTE: It's essential that you are running SurgeMail on port 80 and NOT some other web server! (or use the notes below about IIS/APACHE)īut also check your other ssl settings are enabled: g_ssl_allow "*" (or use tellmail ssl_update_test to check your settings first, too many failures will cause a lockout for a day)
0 Comments
Leave a Reply. |