Blockland Forums > General Discussion
Syerjchep --- img2brick soon --- quick rate --- tracking --- more stuff!
DrenDran:
--- Quote from: DontCare4Free on April 30, 2011, 10:54:01 AM ---How about putting it behind a reverse nginx proxy?
That way nginx can cache the "cacheable" files, and nginx can serve the static files for you.
--- End quote ---
Eh, seems to complicated.
Anyway, I've decided to stop the process of closing sockets due to inactivity, hoping, that since all the crashes happen after a socket is closed for inactivity, this will just stop crashes.
DontCare4Free:
--- Quote from: DrenDran on April 30, 2011, 11:07:22 AM ---Eh, seems to complicated.
Anyway, I've decided to stop the process of closing sockets due to inactivity, hoping, that since all the crashes happen after a socket is closed for inactivity, this will just stop crashes.
--- End quote ---
Complicated‽‽
But since you are so lazy, here we go:
--- Code: (nginx.conf) ---http {
server {
location / {
proxy_pass http://localhost:8080;
proxy_set_header Host $host;
}
}
}
--- End code ---
Was that so hard?
DrenDran:
--- Quote from: DontCare4Free on April 30, 2011, 11:10:31 AM ---Complicated‽‽
But since you are so lazy, here we go:
--- Code: (nginx.conf) ---http {
server {
location / {
proxy_pass http://localhost:8080;
proxy_set_header Host $host;
}
}
}
--- End code ---
Was that so hard?
--- End quote ---
Setting up, basically a second webserver, would be more than just coping a few lines of text.
DontCare4Free:
--- Quote from: DrenDran on April 30, 2011, 11:12:47 AM ---Setting up, basically a second webserver, would be more than just coping a few lines of text.
--- End quote ---
Provided that you run debian or a derivative of it (Ubuntu, etc) it should be as simple as running this in the console:
--- Code: ---sudo apt-get install nginx
--- End code ---
If you use RedHat/Fedora/etc you run this as root:
--- Code: ---yum install nginx
--- End code ---
If you use Windows then you download a zip file and extract it.
If you use Mac OS X then you install another operating system as it is crap anyway.
Destiny/Zack0Wack0:
--- Quote from: DrenDran on April 30, 2011, 10:21:33 AM ---Anyway, I've implemented zack0's style to the homepage.
--- End quote ---
Did you read readme.txt? I had instructions for the comment page and the other pages too.