The static-content tag has no wiki summary.
0
votes
0answers
47 views
Using Nginx as reverse proxy of ANOTHER server with Apache and Wordpress
Here's my problem:
I have a VPS on DreamHost that run all my 10 websites (all are Wordpress blogs), but one of my sites are getting some heavy traffic and I'm feeling that Apache is having some ...
0
votes
2answers
113 views
Lighttpd as tomcat proxy with static content serving
How can I configure Lighttpd to serve static content on specified URL address (eg. www.my-domain.com/static) from specified directory (e.g. /var/www/my-domain/static) ?
Rest of requests must be ...
0
votes
1answer
51 views
autoscale static content on ec2 using local cache
Hello Serverfault members.
I want to achieve the following setup on EC2:
A load balancer starts and stops instances which only serve static content. (a javascript based application)
I do not want to ...
0
votes
3answers
110 views
Best way to serve static content
For the moment, I serve my static content (jpg, png, css) from mydomain.com like this:
location ~* \.(jpg|jpeg|gif|css|png|js|ico)$ {
root /home/www/mydomain/current/web;
add_header ...
0
votes
1answer
85 views
IIS8 not serving static content, even though Static Content role is installed
We have a new installation of Windows Server 2012 acting as a development server. I'm attempting to install DotNetNuke to a site, but when I run the install wizard, while the site comes up, static ...
0
votes
1answer
123 views
Deploying a static site on AWS EC2/nginx: what am I doing wrong?
I set up a micro instance (Ubuntu, 32 bit) and assigned an elastic IP (23.23.245.104)
Public DNS: ec2-23-23-245-104.compute-1.amazonaws.com
I successfully ssh'ed to the machine and installed nginx.
...
2
votes
4answers
369 views
Statically mirroring a heavy trafficked site, CloudFlare as DNS
I run a fairly heavy trafficked website and due to some unfortunate incidents the machines that are in my cloud at Linode went down. And I have only a single Load Balancer machine exposed to the ...
1
vote
1answer
29 views
Media deployment advice
We have applications that have a lot of static content (>60gb) which is updated frequently. It used to be we would manually rsync from vendors and between environments, and our code would rely on ...
0
votes
1answer
142 views
Caching all files in varnish
I want my varnish servers to cache all files. At backend there is lighttpd hosting only static files, and there is an md5 in the url in case of file change, ex. ...
0
votes
1answer
33 views
CPanel administered domain not serving static files publicly [closed]
I have been trying to setup a Kickoff Labs landing page on my domain. It effectively works, but when I try to access the static content in the site's public html directory, it gives a 404 error ...
-1
votes
1answer
151 views
What's the best way to create a static backup of a website?
I have an old Joomla! site that I would like to convert to a static set of html pages (since it's not being updated anymore and I don't want the overhead of having a MySQL db running for something ...
0
votes
0answers
187 views
Nginx serves files without extension too slow [closed]
I'm removing extensions from uploaded files in my CMS. If the file is an image, the thumbnail has JPG extension but the original file is extensionless. Example:
...
1
vote
0answers
127 views
Creating a seperate static content site for IIS7 and MVC
With reference to this serverfault blog post: A Few Speed Improvements where it talks about how static content for stackexchange is served from a separate cookieless domain...
How would someone go ...
0
votes
1answer
187 views
Setup nginx for serving static only via a subdomain
All I want to do is to set up a nginx server to serve static files ONLY. This nginx server sits behind a HAProxy, and HAProxy directs all the requests for static files to this nginx server.
I have ...
1
vote
0answers
37 views
Most scalable way of serving a small set of static HTTP content [closed]
The story: Hi guys. I'm among the people responsible for serving the results of the most anticipated (by number of people participating) annual entrance exam in my state. As such, when our results are ...
2
votes
1answer
888 views
Nginx Cache-Control
Iam serving my static content with ngnix.
location /static {
alias /opt/static/blog/;
access_log off;
etags on;
etag_hash on;
etag_hash_method md5;
expires ...
0
votes
1answer
135 views
Nginx static files from multiple static sources
I have a Django application running on Gunicorn. I am trying to configure Nginx to serve static files. I have two upstream servers, they come from two different directories, and two different Gunicorn ...
1
vote
1answer
178 views
Why is IIS 7.5 showing two requests for static files?
We are running IIS 7.5 on Windows Server 2008 64-bit. Mainly, we run Coldfusion 9 and don't really use ASP.NET stuff.
Kind of weird, but when we look at the "Worker Processes" module (on the main ...
0
votes
2answers
406 views
Nginx static files exclude one or some file extensions
I'm serving up a static site via nginx.
location ~* ...
1
vote
1answer
459 views
How to make sure clients update their browser cache when my website is updated?
I am using the HTTP 1.1 Cache-Control header to implement client-side caching. Since I update my website only once a month I would like the CSS and JS files to be cached for 30 days with ...
-4
votes
3answers
194 views
How do i mitigate DDOS attacks on static servers?
Here is a slightly different take on DDOS attacks. Rather than a server with dynamic content being attack i was curious how to deal with attacks on servers with STATIC CONTENT. This means cpu tends to ...
1
vote
2answers
500 views
Structuring an nginx config for static content and php
I'm trying to write an Nginx config with the following semantics, expressed in hopefully-readable psuedo-config:
location /dir1/ /dir2/ {
if (matches a .php file) {
serve with php
} else if ...
0
votes
1answer
162 views
IIS 7 - Static Resource Or HttpHandler
This is probably a fundamental question concerning IIS 7. I currently have a website running on IIS 7 on my local machine. I've noticed that when I type in a URL of the form ...
0
votes
3answers
357 views
Ngix vs G-WAN for static content? [closed]
Can someone point me to recent benchmarks on the two? Also more info about G-WAN would be nice, since up until now I never heard about it. I need the fastest server for static files.
2
votes
1answer
1k views
Apache ProxyPass ignore static files
Having an issue with Apache front server connecting to a Jetty application server.
I thought that ProxyPass ! in a location block was supposed to NOT pass on processing to the application server, but ...
4
votes
3answers
1k views
Alternative to heroku or google app engine for static files
I'm creating a simple site for my family and which is basically just static files (I don't want a CMS).
I've tried using heroku and google app engine but heroku wind down the server which yields a ...
0
votes
1answer
272 views
Google Analytics setting cookies on static content despite being on entirely separate domain
I recently decided to comply with the YSlow recommendation that static content is hosted on a cookieless domain.
As I already use the root of my domain (donaldjenkins.com) to host my website—on which ...
1
vote
0answers
299 views
IIS 7.5 Static File Request to localhost occasionally taking 4 minutes
We are hosting a web application on a series of Windows 7 machines (accessed via localhost), which has IIS 7.5, and some users are sporadically getting stuck in the middle of a request. After ...
0
votes
3answers
295 views
Separating dynamic and static content on high traffic website
I am trying to increase capacity for my website, which is growing beyond what my current web server is able to handle. The site hosts on a dedicated web server (Litespeed), and a dedicated database ...
0
votes
3answers
246 views
nginx hackery : change image file every X request
Let me describe what I am trying to do first.
I have a bunch of pictures in a directory called /images/*.(jpg|gif|png|blah blah|)
Now say these images are embedded in an html page and I dont really ...
-1
votes
1answer
244 views
Create multiple subdomains for the same directory [duplicate]
Possible Duplicate:
Apache redirect to another domain all URLs, except for ones starting with substring
I would like to optimize image loading for my website using multiple subdomains for ...
1
vote
0answers
97 views
mixing apache2/another web server, virtual apps and static content
I am unable to configure apache2 frontend proxy to other servers and also serve apache2 content. My intent is to have apache2 serve some static content and some dynamic apps, both with domain names ...
2
votes
3answers
539 views
Serve millions of concurrent connections and static files?
I am just curious about the server configurations to serve just static files from one server.
Is it possible to build a server that just for static files and serve millions of concurrent connections. ...
0
votes
1answer
225 views
NGINX config for many small files
I'm trying to configure an NGINX server that's sole purpose is to serve as many 10k JPEGs as it can. I have 16 GB RAM and 2 Intel Xeon E5506 processors, running CentOS.
I'm looking to configure this ...
0
votes
2answers
873 views
serving static content with nginx
I'm currently struggling to get the static content served with nginx for my application. I'll give a bit of background information:
Server : Ubuntu 10.4 lucide
Ruby : 1.8
application : ...
18
votes
2answers
6k views
Disable caching when serving static files with Nginx (for development)
We are using Nginx to serve static files on a development platform. As it is a development platform, we'd like to disable caching so that each change is propagated to the server. The configuration of ...
0
votes
2answers
452 views
CDN architecture - best practises and designs
I am a developer for a website which is heavily reliant on static content such a pictures, videos etc. Our current setup is very simple, we basically have one server acting as our cdn which in turn ...
4
votes
2answers
723 views
non-www domains prevent hosting of static content on the same domain, correct?
Flaw to using non-www domain a canonical?
I love the idea of short, clean urls like example.com over www.example.com, and certainly whichever one is used should redirect to the other. However, as I ...
0
votes
4answers
332 views
How should I set up an awesome Static HTML Server?
Background
I'm trying to setup a linux server (Ubuntu, open to suggestions) over ssh and I keep running into walls, Googling, moving a bit forward, and then running into another wall, then running ...
0
votes
2answers
150 views
Best lightweight web server (only static content) for windows
I got application server running in Windows – IIS6.0 with Zend Server to execute PHP. I am looking for lightweight static content only web server on this same machine which will relive IIS form ...
-1
votes
3answers
122 views
CDN question - factor bandwidth
I am new to cdn but want an idea of bandwidth use so i can plan budgeting. I am starting a social network and want to use a CDN for static content and user photos. Let's say in total i have 15 ...
1
vote
2answers
2k views
Cannot access static content of an ASP.NET MVC app on IIS7
I have an ASP.NET MVC 2 app that I have just deployed to IIS7. The app works fine except all static content (js, css, images) are returning blank.
I have the static content handler configured above ...
0
votes
1answer
86 views
Hosting a javascript api file for third party sites the way sharethis, uservoice, analytics do it
I'm preparing to launch a service soon which will provide third party websites a widget. The widget requires my javascript file in the website's code. Exactly the same way services like analytics, ...
0
votes
1answer
98 views
Free service similar to 2static.it?
I have a domain with a wordpress install which sets up global cookies.
I'm trying to decrease page load times by having a static subdomain to serve up images and javascript. Unfortunately I cannot ...
0
votes
3answers
498 views
Real world stats on Web Server Performance for static content (Apache, Lighty, IIS, Cherokee, Tomcat, etc.)
On a project I'm on (private web based application accessed by 1,000s of users) we're looking to shard off the loading of static content to a separate server (e.g. as a CDN) for improved performance.
...
0
votes
2answers
793 views
Serving static files fails - nginx
I've been looking and trying around all night, but without success.
I configured nginx to serve my static files and proxy all the other traffic:
server {
listen 80;
server_name example.com;
...
2
votes
2answers
3k views
how much RAM for heavy static content serving?
I want to make a server for my static content.
I need to serve some 3-10 mb files - a lot. (I will also put on this server some .js and .css and images from my websites).
I thought of nginx and G-WAN ...
9
votes
2answers
6k views
Nginx - Serve static content from a cookieless domain
I'm using the "page speed" extension for Firebug to try to optimise a website and I'm currently working on the following suggestion: "Serve static content from a cookieless domain".
I have created a ...
0
votes
1answer
926 views
Nginx Static Content Server Maxing Out?
I use nginx to serve the static content for a decently busy website of mine. I have the logging disabled, and 4 worker processes enabled with 5,000 connections per worker (which should yield a max ...
1
vote
5answers
195 views
Website deployment - managing user-uploaded content?
I'm a programmer by trade, "server administrator" by company necessity.
We're looking at dumping the old painful "update site by FTP upload" style of deployment. Having the webserver check out the ...