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
0
votes
0 answers

Nginx Reverse Proxy custom location not serving static files

I'm trying to serve 2 different websites under the same subdomain depending on the location. Using the GUI from Nginx Proxy Manager Docker container I've managed to set up the initial domain https://foo.bar.baz that redirects to another Docker…
0
votes
1 answer

CDN Rerouting on 404 (file not yet in synch with original storage)

Here is the problem. I've setup my app(on EC2) to store uploaded images directly on Amazon S3. I'd like to be able to serve static files(cdn) from my 'home' server so I wrote script that does sync from S3. But there is a window of (at least) one…
0
votes
1 answer

S3 static website is loading pretty slow on private window mode only

I'm not sure is this is an S3 issue or something with my website but would like to ask the community for some help. Configuration: I have a static website (about 700KB) hosted on S3. My .css and .js is gzipped with the appropriate metadata set up.…
0
votes
1 answer

Can't access static site S3, Cloudfront, Route53

I apologize if this needs to be split into two questions, but I'm trying to set up a static site using S3, a CloudFront distribution, and a Route53 domain. If I try to access laszloffy.com, I receive a DNS_PROBE_FINISHED_NXDOMAIN error. If I try…
0
votes
1 answer

nginx append query parameter with encrypted value to a react application

I want to send the DN field from the client certificate ($ssl_client_s_dn), but I want to send it encrypted. In the question nginx append query parameter to a react application it is explained how to add a parameter to a react application using…
Ximo Dante
  • 19
  • 7
0
votes
0 answers

NGINX proxy not serving static content

I've setup a proxy NGINX that access a Wordpress server on 10.0.0.151: # # Default server configuration # server { listen 80 default_server; listen [::]:80 default_server; root /var/www/html; # Add index.php to the list if you are…
Mendes
  • 131
  • 1
  • 10
0
votes
1 answer

Prevent Apache2 from executing CGI in Static Directory

I am running an Apache 2 web server running on Ubuntu 20.04 LTS. I have a Python CGI handler enabled for the /var/www/html directory, which is the DocumentRoot. I am wondering how to exclude a certain directory from running CGI for Python…
Noah Broyles
  • 179
  • 6
0
votes
0 answers

Apache2 alias loading from document root instead of alias directory

I have problem with apache2. I'm new to it and I'm trying to solve some problems. I have a server running debian with apache2.4 installed and 3 web-site running. A Shiny Server, a django website and a static website. The three sites are located…
0
votes
1 answer

How static content is handled in an asp.net application?

I have a website that i use as a "content server" for other websites So, the home page, an asp.net cms, receives 25 visits/month, while the /static/ folder receives hundreds of requests/minute 24/7 Will the asp.net application be loaded forever in…
Magnetic_dud
  • 1,036
  • 2
  • 15
  • 29
0
votes
2 answers

Tool to create pre-compressed [Brotli] files

I am trying to pre-generate compressed brotli files in designated directories for static html, css and js files. I found a rust tool here – https://github.com/neosmart/static-compress Besides this, there’s also an option within the W3TC WordPress…
Sus
  • 21
  • 2
0
votes
1 answer

wget website recusively from localhost without using bandwith

i'm looking to download recusively my wordpress website into static using wget, the problem is that whenever i do that, it's using too much bandwith (3.5gb) even though i end up downloading 20mb which weird, so i'm looking to download using…
logax
  • 129
  • 3
  • 14
0
votes
0 answers

Static websites in s3 bucket returns 404 for links

I'm uploading Gatsby static built files to s3 static website hosting in subdir. For example. test.s3-website-us-west-2.amazonaws.com/site1 test.s3-website-us-west-2.amazonaws.com/site2 So I want to access site 1 using url…
Arun Singh
  • 55
  • 1
  • 2
  • 8
0
votes
0 answers

htaccess not redirecting images?

I'm trying to force all content to use HTTPS. I added the following rule to my htaccess: RewriteCond %{HTTPS} off RewriteCond %{HTTP:X-Forwarded-Proto} =http RewriteRule ^.*$ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L] It works fine for web pages…
nute
  • 791
  • 2
  • 11
  • 22
-1
votes
1 answer

Create multiple subdomains for the same directory

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 the static files residing in /files. Is there a good way…
bogdan
  • 155
  • 1
  • 8
1 2 3
8
9