forked from Steven/NginxInstaller
Compare commits
5 Commits
ebb49da74e
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e2511e77e1 | ||
|
|
2ed63b080d | ||
|
|
3389142e00 | ||
|
|
a53beb587f | ||
|
|
13afdbcea1 |
4
app.js
4
app.js
@@ -1,7 +1,7 @@
|
||||
document.getElementById("submit").addEventListener("click", generateQuickCmd, false);
|
||||
|
||||
const debug = false; // DISABLE FOR PRODUCTION
|
||||
const baseURL = debug ? "http://localhost:8081/ngx" : "https://dev.nevets.tech/ngx";
|
||||
const baseURL = debug ? "http://localhost:8081/ngx" : "https://api.nevets.tech/ngx";
|
||||
|
||||
const service = "[Unit]\n" +
|
||||
"Description=The NGINX HTTP and reverse proxy server\n" +
|
||||
@@ -91,7 +91,7 @@ function buildCmd() {
|
||||
" exit\n" +
|
||||
"fi\n\n" +
|
||||
"apt-get update\n" +
|
||||
"apt-get install -y build-essential libpcre3 libpcre3-dev zlib1g zlib1g-dev libssl-dev wget git\n" +
|
||||
"apt-get install -y libbrotli-dev build-essential libpcre3 libpcre3-dev zlib1g zlib1g-dev libssl-dev wget git\n" +
|
||||
"wget https://nginx.org/download/nginx-" + extractNginxVersion(nginxStr) + ".tar.gz\n" +
|
||||
"tar -xzvf " + "nginx-" + extractNginxVersion(nginxStr) + ".tar.gz\n";
|
||||
if (document.getElementById("extMod").checked === true) {
|
||||
|
||||
Reference in New Issue
Block a user