Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [http]

HTTP stands for Hyper Text Transfer Protocol and is the protocol used to transfer information around the World Wide Web.

0
votes
0answers
3 views

Nginx Sonarqube logout issue

Sonarqube expects a header X-Forwarded-Login to be set, for auto login from an upstream system. We provide links from our application to specific Sonarqube urls. So our design, is to set a cookie ...
0
votes
0answers
9 views

Setting IIS as forward proxy to provide it's server certificate as client certificate for backend server that requires client auth

My environment setup so far is as follows:- Tomcat on server (1) hosting a web application (X) that uses http connection for requests to it in the intranet IIS 8.5 installed on server (2), acting as ...
0
votes
0answers
27 views

Why does a particular site show pictures when accessed from one region and not from another? [on hold]

I have a client who signed up with our ISP recently and he complained that while he was with another ISP he could access a motor vehicle parts website which he uses to order parts. With us, he can ...
2
votes
1answer
43 views

haproxy does not add headers conditionally

I have the following config, it's under the frontend section for tls connection and haproxy terminates https connections: acl domain-acl-host hdr(host) -i domain.tld rspadd X-Foo:\ bar if domain-acl-...
0
votes
0answers
21 views

How to tunnel an IPv6 website through an IPv4 in a VPS? [duplicate]

My ISP will only let me host things in IPv6. I'm hosting an IPv6 http page and need people with IPv4 connection to access it. I have a VPS which can be used to grab the IPv6 page and return as an IPv4 ...
0
votes
0answers
7 views

Outbound proxy appliance recommendations - Host mapping on per source basis [migrated]

Not really worked with web proxy appliances for a while and wondered how this scenario fits a typical enterprise appliance. I'm looking at replacing a complex load balancer arrangement, which ...
-1
votes
1answer
26 views

HTTP/HTTPS request on the same site for same webpage [closed]

I'm using the following code to handle both the request at server. But still no success. RewriteEngine On RewriteBase / RewriteCond %{ENV:HTTPS} !on [NC] RewriteCond %{REQUEST_URI} !^/.*$ [NC] ...
0
votes
0answers
20 views

Squid as transparent proxy to tunnel all connections under Windows

There's this app Joplin that can't connect to the internet on a corporate machine which lives on Active Directory and connects to the internet through HTTP and a NTLM proxy. The problem is that you ...
0
votes
1answer
37 views

Why do we need the host name again when downloading the webpage by using telnet?

I learned you could use telnet to download a webpage(making http request), like telnet www.example.com 80 GET HTTP / HTTP/1.1 HOST: www.example.com then the output would be an html source page or ...
1
vote
0answers
13 views

HaProxy randomly returning 503 for static files when servers are available

HaProxy is randomly returning 503 even though there definitely are backend servers available. The backend is serving the files correctly, as it's access log shows it always returning a 200 or 304. I'm ...
0
votes
2answers
18 views

Apache logs showing CONNECT request to server that isn't mine

I've just installed an ELK stack on my server and I'm noticing something strange whilst watching the APM (at least I think it is strange, anyway). My Laravel application is continuously getting a ...
0
votes
1answer
49 views

Run HTTP server on port 9090 (Node.js) and use Cloudflare

I wonder how I can add to Cloudflare subdomain to a specific port that can work in the browser. I open a socket using socket.io on port 9090 and have an index.html file server.listen(9090); if I ...
0
votes
1answer
40 views

URL Redirection to different, secure site

This was originally posted to StackOverflow: https://stackoverflow.com/questions/52538874/url-redirection-to-different-secure-site I'm looking for some help with URL Redirection. I am hosting a ...
1
vote
1answer
66 views

Is it possible to redirect a URL from HTTP to HTTPS on the same port for IIS?

I have a website located on a custom port number in the server. Currently, it is serving the users using HTTP. I was wondering if it is possible to redirect from HTTP to HTTPS while still reusing the ...
0
votes
0answers
36 views

Nginx - The same X-Forwarded-For configuration doesn't work for all virtual hosts

I'm facing a very weird Nginx issue. We have many virtual hosts, each one with X-Forwarded-For configured to get the user's real IP, but in two of them (as far as I know; there's possibly more) this ...
0
votes
0answers
36 views

AWS EC2 Nginx available at every port only not 80

Currently, I'm new to Nginx and hope that you can guide me to the right direction. I've tried to follow nearly every guide I found online, including uninstalling and reinstalling each time configs ...
-3
votes
0answers
75 views

Where are refused connections logged in Debian?

On my Debian 8 server, I want to check whether or not the server has refused any TCP connections. Is there any log (either already probably enabled by default, or that I can enable) where all incoming ...
0
votes
1answer
37 views

F5 BIG-IP monitor to detect http to https redirects

We have an F5 BIG-IP load-balancer we use in front of a web application hosted by several identical servers. The application listens on port 443 for SSL/TLS requests and port 80 for http request. ...
0
votes
1answer
39 views

Content being blocked by browser - Reverse Proxy NGINX

I have an iFrame that's making a request to a HTTPS URL. I'm using NGINX to catch this request and proxy is to the correct URL, which is an HTTP backend Spotfire Server. The HTTPS URL request: https:/...
0
votes
1answer
42 views

Rewriting client “Host” http header before nginx validates the field

I get following request from a device and should proxy it to hd10.vtech.com: GET http://hd10.vtech.com/test/pp_firmware/HD10-CH010_SUOTA.bin HTTP/1.1 Host: http://hd10.vtech.com/test/...
0
votes
2answers
19 views

What format do both nginx and apache follow to send the request to the app?

I was just thinking if an app like rails or laravel can receive the request from different server applications like apache or nginx, there must be some sort or request format the servers follow to ...
0
votes
0answers
35 views

SSH tunnel for serving web sites from localhost

This is more question... When I do like this... I am able to serve my site to external IP of my VPS... ssh -L 8080:localhost:80 username@server.com How secure and is it okay to serve websites ...
0
votes
1answer
26 views

Curl fetch only headers without head

On our company servers due to security purposes our main SysAdmin only allows a few HTTP methods to pass through like (GET, POST, OPTIONS, PUT, etc.) and HEAD is not one of them. I implemented Zabbix ...
3
votes
0answers
22 views

How to filter external HTTP requests using on remote host location and GET parameters with Tomcat8?

I have a tomcat 8 web applications server and it has a running application (/app). This /app can be accessed from both internal and external HTTP GET requests but 1 request from external should be ...
0
votes
0answers
26 views

hosting the MAMP apache server over my local network is not working

I have a php website that I am developing in MAMP PRO 5.0.4 running on the apache server. I have created a virtual host with a name similar to example.social and SSL enabled using a self signed ...
0
votes
1answer
16 views

Regex to Identify an URL Parameter Not Knowing Which Parameter It Will Be

So I've been working on building out an haproxy cluster (1.5.x) and hit a snag where for a particular webapp I'm wanting to pitch API GETs to a read-only app cluster and the PUTs into a much smaller ...
1
vote
0answers
32 views

Google cloud load balancer not returning Content-Encoding: gzip

I'm using google cloud Load balancer that sits in front of an nginx backend service (in google cloud terms). When i'm accessing the nginx server directly i can see the 'Content-Encoding: gzip' header ...
1
vote
1answer
37 views

How to force Apache to skip binding to failed interface? [closed]

I run Apache inside VirtualBox on a laptop. I also used IP based VirtualHost-s. I want to be able to have LAN access whenever I move about, to certain pre-known networks. The IP, however, is not "...
0
votes
0answers
18 views

Make HTTP and WebSocket share the same connection with thttpd

I would like to make HTTP and WebSocket share a single TLS-encrypted connection to the port 443. I know it is possible with nginx and apache, but what about thttpd?
0
votes
0answers
25 views

Nginx default_server matches everything

In my Nginx configuration I have three separate sites under different subdomains each with an exact server_name match. My problem is that other subdomains also redirect to these subdomains, which I ...
-2
votes
2answers
49 views

How is HTTPS secure if Private Key is able to be intercepted?

I'm not a networking guy, so I have little knowledge about internet protocols and SSL. My question is coming from a lack of understanding of how https operates. Basically in https there is a phase ...
0
votes
2answers
89 views

Does it make sense to use both Varnish AND Browser caching?

I'm a bit confused about what the best practice is when using Varnish: I saw many sites where I know they were using Varnish, which had Cache-Control: no-store, no-cache, must-revalidate HTTP headers ...
0
votes
1answer
20 views

Unable to remove Server HTTP header with Varnish 5

I have the following vcl_deliver subroutine: sub vcl_deliver { # Remove some HTTP-headers: unset resp.http.Server; unset resp.http.X-Varnish; unset resp.http.Via; unset resp.http.X-Cacheable; ...
6
votes
3answers
461 views

Does it makes sense from a security perspective to remove the Server HTTP header?

I'm using Varnish and I'm not quite sure if I should also remove the Server: nginx HTTP header. Why do someone needs to know that I'm using NGINX? Is it ok to remove this HTTP header from the response ...
0
votes
0answers
32 views

Nginx doesn't match location when changing proxy_pass from http to https

Current working config (stripped): server { listen 443 ssl default_server; location /about { proxy_pass http://my-internal-network.com/about ### <- HERE!!!!!!!!!!!!!! ...
0
votes
1answer
88 views

haproxy http request <NOSRV> reponse

I have following configuration in /etc/haproxy/haproxy.cfg > frontend LB > bind *:80 > reqadd X-Forwarded-Proto:\ http > default_backend LB > > frontend LBS ...
1
vote
1answer
52 views

Nginx on docker - Vary: Accept-Encoding header is missing

I'm serving a static website from nginx that runs on a docker container which is based on nginx:alpine base image. My DockerFile: FROM nginx:alpine COPY --from=angular-built app/dist/dayTwoApp /usr/...
0
votes
2answers
114 views

Is it possible have a https site without making use of port 80?

Is there a way to redirect all website requests that come to my server from port 80 to port 443 without needing Apache to listen on port 80? Thus freeing port 80 for other use. I'm thinking like some ...
0
votes
2answers
82 views

Apache mod_rewrite redirects me to https://www.(literally) for some reason

I configured an Apache server on my Ubuntu 18.04 computer with HTTPS support. I have a SSL Certificate for *.example.com so my solution for have HTTPS on example.com was to redirect it to www and ...
0
votes
0answers
25 views

SetEnvIf doesnt work from htaccess

I'm trying to overcome the infamous missing Auth header problem with Apache, PHP and CGI. If I set this in a virtual host, I can successfully read the Bearer token from the Authorization header. ...
0
votes
0answers
56 views

not found in Access-Control-Allow-Origin only for specific user

I have the following server/application setup: Server is Windows Server 2012. I have Silverlight website hosted on IIS (Version 8.5) And I have integration service running on port 6543. Some pages on ...
0
votes
2answers
153 views

NGINX: HTTP to HTTPS redirect not working

First time posting here. I've been searching on here for about two days to find a solution to my problem and nothing is working. I know, there is a ton of posts about this same problem but none of ...
1
vote
0answers
65 views

EventStore Bad Request (Invalid host) working in cluster

I'm using EventStore with the following configuration : --- RunProjections: All ClusterSize: 2 Db: /opt/eventstore/db DiscoverViaDns: false GossipSeed: 10.0.100.11:1113 GossipOnExt: false Log: /opt/...
0
votes
0answers
74 views

How to log outgoing HTTP requests (including headers) from an Apache reverse proxy

We have an Apache 2.4 instance set up which acts as a reverse proxy for multiple applications. In one of the virtual hosts I have configured it to set an additional HTTP header in a request before ...
0
votes
1answer
128 views

http to https redirection - apache2

I have a odoo instance running in an ubuntu16 server. Apache is acting as the front end server and is proxypassing the request to the odoo instance. I have now configured the virtualhost to enable SSL ...
0
votes
0answers
145 views

Squid to forward only HTTP (not HTTPS) request to another proxy running on localhost

I have a squid proxy and nginx configured as forward proxy only for HTTP requests. My nginx proxy can only work as forward proxy for http requests and fails if a request is https. That is why I would ...
0
votes
1answer
28 views

Could not resolve host after removing KDE packages

When the server was deployed, KDE was installed, it was not needed and I removed it. Now when executing queries with any utilities (including apt) I get Could not resolve host. What could I delete ...
0
votes
0answers
90 views

multiple websites on centos 7 using docker + nginx-proxy + multiple httpd + wildcard cert

I want to set up multiple websites on a centos 7 machinge using docker + nginx-proxy + multiple httpd + wildcard cert. I am new to docker,but I have successfully got the multiple sites up and running ...
0
votes
1answer
39 views

IIS 8.5 on Windows 2012 R2 works fine for around a day, then all my sites go down and give 500 errors. How can I diagnose?

In just the last few days IIS 8.5 on my Windows 2012 R2 server started going down. Every 24 hours or so, the server stops shows my webpages when going to a URL, and instead shows HTTP 500 errors. My ...
0
votes
0answers
28 views

Nginx SSL request process

I have a Nginx 1.10 with this 2 sites: site A: server { listen 443 ssl http2; listen [::]:443 ssl http2; ssl_certificate /etc/ssl/example.com/fullchain.pem; ...