Questions tagged [static-content]

Static content like a static web page is delivered to the user's web browser exactly as stored, in contrast to dynamic content, which is generated for each request by a web application.

134 questions
2
votes
0 answers

IIS stopped serving static content over a certain (small) size

I'm really hoping somebody can help apply some sanity to this IIS issue that has been driving me crazy. I seem to be experiencing the same problem as the poor soul in this thread: https://forums.iis.net/t/1240175.aspx - IIS will not serve static…
K. Meke
  • 121
  • 1
1
vote
0 answers

Optimizing an Azure App Service for Static Content

I have a "Basic" Azure App Service Plan hosting multiple App Services. One of those App Services contains exclusively static content (i.e., html, css, js, png, &c.). Question What server-side configuration settings are available to me in Azure to…
1
vote
0 answers

apache fail to serve static files when ipv6 enabled

I have apache 2.4 running on openSUSE, has been working great for years. A few weeks ago I upgraded from openSUSE 15.0 to 15.1, and suddenly apache would fail to serve static files. I found that if I set apache to only listen on ipv4, the problem…
1
vote
0 answers

Nginx & NodeJs slow static file serving

I have a small NodeJS app, with an Nginx front to serve the static files to increase performance. The bundle.js file takes around 1s with no load, however, add some concurrent users and the bundle.js takes quite the hit! This is running in k8s,…
Stuart.Sklinar
  • 157
  • 2
  • 12
1
vote
1 answer

Redirecting .app domain to Amazon S3 bucket (SSL)

I'm currently hosting a static website on an Amazon s3 bucket (i.e. https://s3.eu-east-2.amazonaws.com/MyApp/index.html) and I have recently bought an .app domain which I would like to redirect to the bucket (i.e. myapp.app). I have configured the…
1
vote
2 answers

Configure nginx to serve static files

I'm trying to serve static files(HTMLs, JS and CSS) from a Google compute engine instance running Debian 8. I used git to clone the web app to the folder /var/www/prod/app with command sudo git clone I made a conf file in sites-enabled…
1
vote
1 answer

Nginx+PHP-FPM: Let php handle file extensions

I am trying to serve a PHP script that handles some RESTful URIs and to know which format end user needs data, I handled that as the extension in the URI, eg.: example.com/foo/bar.json?q=x&a=y --> data in ajax format example.org/foo/bar.xml?q=x&a=y …
Tala
  • 267
  • 1
  • 3
  • 9
1
vote
2 answers

How do I configure apache2 to serve static assets from server root subdirectory?

Front end developer here - I just inherited a server (Mac Pro) to host my prototypes within our network. There's already an apache server set up on it, but I don't know much about it's config. This is a shared server, so while the server root is…
tim
  • 119
  • 2
1
vote
3 answers

How to make nginx try_files get html resources in a timely way

Using nginx 1.8.1 on an Amazon Linux EC2 instance. Using as a reverse proxy to support https for Apache running on a different instance. All is working fine, except for this issue. I want to serve a static page from nginx in case I want to take the…
sootsnoot
  • 405
  • 1
  • 5
  • 12
1
vote
2 answers

Allowing all headers in CORS

I want to configure my Apache 2.4 to serve some static resources in a CORS-friendly way. I already have the following setting: Header always set Access-Control-Allow-Origin "*" However, for recent Safari this appears to not be enough: [Error]…
MvG
  • 1,813
  • 15
  • 18
1
vote
1 answer

Nginx serve static files for flask app 404

I've tried numerous solutions of other posts, but nothing seems to work for me, I always get a 404 error, when trying to let nginx serve static files of my flask application. Somewhere in between all those attempts on getting it to run, I also had a…
1
vote
0 answers

Site farm server with multiple users - best aproach

I am buliding kind a hosting server for static sites, and i am wondering is it better and for what reasons to: 1) use linux users ( i dont need ssh or something advanced function, there is only static content 2) use one linux user and application…
1
vote
0 answers

Route content using nginx if a specific condition is met

I have 2 LAN networks which are united w/ IPSec tunnel: 10.10.10.1/24 10.10.20.1/24 One of my internal sites is running on 10.10.10.50, which is serving users heavy content, such as 300-400MB archives, it takes really long for .20.1/24 users to…
falken
  • 69
  • 6
1
vote
1 answer

bind9 + lighttpd: Accept all requests coming from certain name servers and reply with static page

So, I've this situation: A server (under CentOS) with a lot of domains with around 2 TB of data under them, and I'm migrating it all to another machine with faster I/O. The migration details / software are not important here. Due to some internal…
TCB13
  • 1,166
  • 1
  • 14
  • 34
1
vote
1 answer

Apache2 proxy to serve a static page

I would like to stand up an apache2 proxy server (proxy.domain.internal 10.2.2.10) to do the following: Transparently serve local content (http://proxy.domain.internal:8085/arbitraryContent) to local clients. Forward all other requests to the…
pete.k
  • 21
  • 1
  • 2
  • 4
1 2 3
8 9