Overseas access: www.kdjingpai.com
Bookmark Us
Current Position:fig. beginning » AI How-Tos

Domestic server binding non-record domain name and deploy wordpress

2024-03-05 2.5 K

1. Bind a domain name in cloudflare

 

2. cloudflare Tunnels Deploy on the server as per the tutorial and set up forwarding ports and domains for the website

 

3. Server web directory binding 172.0.0.1: port (nginx)

 

4. Due to nginx intranet port mapping non-HTTPS, resulting in protocol confusion and possible redirection, find wp-includes/load.php, search for is_ssl() to modify parameters

 

function is_ssl() {
if ( isset( $_SERVER[‘HTTPS’] ) ) {
if ( ‘on’ === strtolower( $_SERVER[‘HTTPS’] ) ) {
return true;
}
if ( ‘1’ === (string) $_SERVER[‘HTTPS’] ) {
return true;
}
} elseif ( isset( $_SERVER[‘SERVER_PORT’] ) && ( ‘443’ === (string) $_SERVER[‘SERVER_PORT’] ) ) {
return true;
}
return false;
}
For return false read return true
🍐 Duck & Pear AI Article Smart Writer
Selection → Writing → Publishing
Fully automated!
WordPress AI Writing Plugin
500+ content creators are using
🎯Intelligent Selection: Batch generation, say goodbye to exhaustion
🧠retrieval enhancement: networking + knowledge base with depth
Fully automated: Writing → Mapping → Publishing
💎Permanently free: Free version = Paid version, no limitations
🔥 Download the plugin for free now!
✅ Free forever · 🔓 100% Open Source · 🔒 Local storage of data

Recommended

Can't find AI tools? Try here!

Enter keywords.Accessibility to Bing SearchYou can find AI tools on this site quickly.

Top