Comments (17)
you should disable firewall from serverpilot, you can install another one from console later.
from serverpilot-letsencrypt.
@sinand It works, reinstall is successfull. But, on the Google Chrome "secure" is not shown yet when i go https url.
from serverpilot-letsencrypt.
@bekircem, Google Chrome is notorious for caching SSL. You might want to test your site on different browser (if available). If not, try clearing browser history on your Chrome.
from serverpilot-letsencrypt.
@lesaff not shown Opera Browser, IE and mobile.
Also i can not use force HTTPS. When i add codes to htaccess it gives me error. "ERR_TOO_MANY_REDIRECTS"
Could it be related to that?
This is the site I'm working on. You can check it.
from serverpilot-letsencrypt.
Looks like there's an htaccess
rule that keeps redirecting the site to http://
from serverpilot-letsencrypt.
@lesaff I'm still working on it so i delete codes on htaccess. But when i add it, it gives me "Too Many Redirects" error.
from serverpilot-letsencrypt.
Is there any other redirect rule somewhere in your htaccess that forces http?
from serverpilot-letsencrypt.
@lesaff Only Wordpress defaults codes. Also i use Cloudflare but Cloudflare's SSL is not activated and there is no page rules.
`# BEGIN WordPress
RewriteEngine On
RewriteBase /
RewriteRule ^index.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
END WordPress`
from serverpilot-letsencrypt.
I am not familiar with WP Supercache. Try turning it off or clearing the cache. Also, set your Cloudflare to dev mode for now. Here's your HTTP header info.
from serverpilot-letsencrypt.
Cloudflare dev mode for a long time, i clear cache. But nothing is change.
from serverpilot-letsencrypt.
from serverpilot-letsencrypt.
@oviliz I check it again,
Status: Development Mode
Caching for this website has been disabled.
Expires in 02:22:23
from serverpilot-letsencrypt.
@bekircem, as soon as you can find what's redirecting your site traffic to http://
you should be able to get your https running.
from serverpilot-letsencrypt.
@lesaff I can't find because i have not change any settings on serverside and htaccess. It is default serverpilot server and serverpilot's force http settings but doesnt work. Pretty odd.
from serverpilot-letsencrypt.
@bekircem Would you cat your content of your Nginx website config file in /etc/nginx-sp/vhosts.d/yourwebsiteapp.conf?
from serverpilot-letsencrypt.
server {
listen 80;
listen [::]:80;
server_name
server-*****
*****.com
www.*****com
;
root /srv/users/serverpilot/apps/*****/public;
access_log /srv/users/serverpilot/log/*****/*****_nginx.access.log main;
error_log /srv/users/serverpilot/log/*****/*****_nginx.error.log;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
include /etc/nginx-sp/vhosts.d/*****.d/*.nonssl_conf;
include /etc/nginx-sp/vhosts.d/*****.d/*.conf;
}
from serverpilot-letsencrypt.
Sorry, I'm not using this script and now I've seen that apparently generates an extra separated *.ssl.conf for your app.
If that's the case, just make sure that it writes something similar to this (not sure where the script stores the SSL files):
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name
*****.com
www.*****com
;
ssl_certificate_key ssl/*****.key;
ssl_certificate ssl/*****.combined_crt;
root /srv/users/serverpilot/apps/*****/public;
access_log /srv/users/serverpilot/log/*****/*****_nginx.access_ssl.log main;
error_log /srv/users/serverpilot/log/*****/*****_nginx.error_ssl.log;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-SSL on;
proxy_set_header X-Forwarded-Proto $scheme;
include /etc/nginx-sp/vhosts.d/*****.d/*.ssl_conf;
include /etc/nginx-sp/vhosts.d/*****.d/*.conf;
}
from serverpilot-letsencrypt.
Related Issues (20)
- Subdomains and separate apps HOT 2
- Support for Let's Encrypt ACMEv2 and Wildcard certificate HOT 7
- Apache ? HOT 2
- Serbver down after running script HOT 8
- Add extra subdomains HOT 6
- Error 403, PHP File returning as Download file HOT 3
- Job for nginx-sp.service failed because the control process exited with error code. HOT 3
- When will it renew the Letsencrypt Certification? HOT 1
- Missing .well-known directory HOT 1
- The certifications are do not renew automatic. HOT 1
- /etc/letsencrypt/live/ empty
- Restarting nginx does not recreate deleted ssl.conf
- OCSP responder timed out
- It fails, what can i do? not savvy enough. HOT 7
- --quiet in cron HOT 1
- separate/multiple certificates
- Certificat not renewing.
- This is only works on nginx-sp level, what about apache-sp ?
- Nginx fails to start after installing it
- Update to an ACMEv2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from serverpilot-letsencrypt.