Skip to content

Instantly share code, notes, and snippets.

@HauptJ
Last active May 28, 2023 00:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save HauptJ/91dc8b23938cff878133d726f6aa38c4 to your computer and use it in GitHub Desktop.
Save HauptJ/91dc8b23938cff878133d726f6aa38c4 to your computer and use it in GitHub Desktop.
OpenLiteSpeed WordPress IPv4 Listener Config
listener wordpress {
address *:80
secure 0
map wordpress example.com, www.example.com
}
listener wordpressssl {
address *:443
secure 1
keyFile /usr/local/lsws/conf/example.key
certFile /usr/local/lsws/conf/example.crt
map wordpress example.com, www.example.com
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment