Does nginx cache (copy) my images?
I’m using http public cache all over an images website to allow clients and anyone between the clients and my server (eg: cloudflare, isp, etc) to cache HTML, assets (js/css/icons), and images (the main content of the website). But I don’t want nginx to cache these images, because it will take too much space. I’m not sure whether it’s happening, I don’t know how to check. So how do I check, and if it’s happening, [...]
Continue Reading »Command line tools for ping HTTP?
Background : It’s a common question as we can search at google “ping works but http does not” ping is not a reliable test of network connectivity. ping working just means enough of the IP stack is up to process ICMP Echo requests (that’s not a huge portion of the system compared to what’s required for SSH and web servers). We could have had what I call a “partial panic” (Kernel blew up, but the [...]
Continue Reading »Nginx Upload Module with Upload Progress Module
I´m trying to setup a File Upload Server with nginx. My nginx config: worker_processes 1;events { worker_connections 1024; }http { include mime.types; default_type application/octet-stream; upload_progress proxied 1m; sendfile on; keepalive_timeout 65;server { listen 80; server_name localhost;client_max_body_size 5000M; #charset koi8-r; #access_log logs/host.access.log main; location / { root html; index index.html index.htm; } location /progress { report_uploads proxied; } location /upload { # Pass altered request body to this location upload_pass @after_upload; # Store files to this [...]
Continue Reading »Blocking HEAD, DELETE, etc. with lighttpd
So I have lighttpd installed and the site it runs only needs to respond to GET requests. I was wondering how I can return 405 responses with Allow: GET headers to anything but GET requests using lighttpd? I’ve had a quick google but even the lighttpd doesn’t turn up anything solid. Asked by Sam Since version 1.4.19, you can filter on request-method: $HTTP["request-method"] =~ “^(PUT|POST|HEAD|PATCH|DELETE)$” { url.access-deny = (“”) } Answered by j0k Check more [...]
Continue Reading »What are the pros and cons of SSH and HTTP for a git server?
I want to setup a git server. I have found several how-to’s, well detailed. Some describe the installation for a git-server accessible thru Ssh, while others, accessible thru HTTP. ( Others even advise tools like gitolite ). Are there pros or cons choosing over SSH or HTTP? It seems that by HTTP, the file transfer is significantly slower, but I wonder if there are other things to keep in mind. What is the most common [...]
Continue Reading »Enable gzip on Nginx
Yes, I know that there are a lot of other questions that seem exactly like this out there. I think I must’ve looked all of them. Twice. In desparation, I’m adding another in case my specific configuration is the issue. Bear with me. First, the question: What do I need to do to get gzip compression to work? I have an Ubuntu 12.04 server installed running nginx 1.1.19. Nginx was installed with the following packages: [...]
Continue Reading »How visible is my /var/www to the outside world?
I suppose this is more of a house keeping question, but here it goes. If I create a backup file of my index.html called index.html.bak, is it possible that someone from the outside using http on my apache2 server is able to list the contents of my /var/www directory? I currently know no method of doing this, but this could be due to my lack of experience in this area. Should I store files that [...]
Continue Reading »HTTP-Invoke URL by Windows Task Scheduler (schtasks.exe)
I’d like to send HTTP requests using the Windows Task Scheduler. In UNIX cron jobs, I can do that using wget http://www.google.com -O /dev/null How to do the same on a Windows Server? Asked by cheeesus You can download a windows version of wget. Create a batch file, if you need more processing: @echo off wget http://www.google.com -O nul rem do something else, if needed In your Task, simply call this batch file. Answered by [...]
Continue Reading »Regarding the functioning of the HTTP server
As all of us uses the HTTP protocol for accessing the web, and request at the port number 80 of the server, now suppose i want to browse or download a file then i will request to the HTTP server by specifying the complete URL. If the server is having file, it would return it if it is not having the file then what will it do? I think it will make the request to [...]
Continue Reading »How to reach a virtualized application server running on Mac OS X from an outside computer or tablet
After Googling for hours on end looking for a solution I decided to leave a message on this forum. I hope you guys can give me a push in the right direction to solve this issue. I am using a Macbook running OS X 10.6.8 (Snow Leopard). This machine is connected with a wifi router and has a local IP address: 192.168.104.172. On this Macbook I am running Windows 7 using Parallels Desktop. (Don’t make [...]
Continue Reading »Recent Posts
- Understanding redundant power supplies
- Is there a way for administrators to disable users from installing Firefox extensions?
- Is there research material on NTP accuracy available?
- How to create a limited “domain admin” that does not have access to domain controllers?
- Can Windows RDC admin users be immune from being kicked?



