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
2answers
33 views

Port 80 on Web Server Security

Currently I'm running a web server, The server itself is using both HTTP "Port 80" and HTTPS "Port 443". I purchased an SSL certificate and installed it to the issue is the manufacturer of the ...
0
votes
2answers
44 views

https --> http lightweight proxy

I'm new to web servers and need some advice. I've wrote simple HTTP server based on served over RedHat 7.2. Sadly, served as far as I understand does not support HTTPS. In order to keep in line ...
0
votes
0answers
33 views

Windows Server 1809 can't download from api.nuget.org [on hold]

I have a clean install of Windows Server, version 1809. The server is installed on Hyper-V on top of Windows 10. Update: I tried curl and similar issue but now I have extra logging. See below. When ...
0
votes
1answer
20 views

NGINX: Cannot config nginx to handle redirect from HTTP to HTTPS redirect not working

I have try to config nginx: /etc/nginx/nginx.conf server { listen 80 default_server; listen [::]:80 default_server; server_name 10.0.0.10; #This is my private IP return 301 https://$...
0
votes
0answers
12 views

Interface with docker engine for windows using http

I am trying to write a script that manipulates docker engine, On linux the curl command work fine curl --unix-socket /var/run/docker.sock http:/v1.24/containers/json but On windows I can't figure ...
10
votes
2answers
2k views

How to serve different robots.txt for http and https on same site?

I got a small site which served by Apache (I can't put Nginx in front nor change Apache to anything), and it is set up to serve the same site both over http and https (no redirects http->https is ...
1
vote
1answer
48 views

Traffic drop after HTTPS Magento

we have a Magento store, that we switched to https. Now 2 weeks after, we got a drop about 30%... What could be the cause? I followed every step that was recommended. I requested a reindex via search ...
0
votes
0answers
16 views

(8)Exec format error and Premature end of script headers

I am writing a cgi script file in 'c programming language' and loading into a linux Embedded device and I am running my apache httpd server, trying to access my webpages in Mozilla browser(Version : ...
0
votes
0answers
14 views

How to prevent Azure application gateway v2 buffering

I have a service deployed in Azure behind an Application Gateway - standard v2 sku. One of the endpoints exposed by this service returns a streaming http response containing progress updates for a ...
2
votes
1answer
94 views

IIS and HttpListener (.NET) with windows authentication

I have a question about Windows authentication with IIS and HttpListener I have the following setup (All installed in same Windows 8.1 box. No outside communication). All requests are sent as http://...
0
votes
0answers
38 views

Enterprise customer seems to remove or break HTTP headers

Our web application makes HTTP requests to our API hosted on the same domain as the app assets. We use JWTs for authentication (encrypted token attached in a HTTP header included with every API ...
0
votes
0answers
20 views

How to Nginx upstream on single server with additional IP addresses added to NIC?

I am having a single dedicated server (static IP) with two additional IP addresses added. When I run SSH with command: cat /etc/network/interfaces I got this result: auto lo iface lo inet loopback ...
0
votes
0answers
17 views

304 not modified with apache http server

I am using apache http server in a linux device and it starts running but I am no able to access my web pages using browser. I am using firefox 63.0 version when I observed packets in Wireshark ...
9
votes
4answers
2k views

My DNS record can only point to an IP address. How do I make it reach for a port?

I am fairly new to network administration and therefore am already excited to have successfully set up a DNS record. Now I am a bit confused, because I would like to have this URL: http://www....
0
votes
0answers
34 views

Why are some users forced to https and others are not?

We have intranet websites in an enterprise environment. About a month ago, we started receiving emails from users who were unable to reach pages on a specific server. There are hundreds of users for ...
0
votes
0answers
18 views

heroku - how to log all http traffic?

I'm trying to diagnose an issue with a Django app running on a Heroku dyno. I want to be able to inspect all http requests and responses, both incoming and outgoing. I want to do this at the system ...
7
votes
0answers
58 views

How much does FreeBSD accept_filter actually improve performance in a modern world?

I recently learned about FreeBSD's accept_filter socket option which can allow a worker process to avoid context switching by, for example, waiting until a full HTTP request is received with accf_http:...
0
votes
1answer
12 views

What are the split latency measurements produced by httping?

I've been using httping to monitor the performance of my load balancer. The httping utility accepts a -S argument which is briefly described in the man page: -S Split measured latency in time ...
1
vote
1answer
90 views

Connection refused for Java HTTP Server running on localhost

How would you investigate the following issue? On a specific server; any HTTP-Requests sent to a Java Server running on localhost fails with "Connection refused". (See the Java code here) In the ...
0
votes
0answers
26 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
90 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 ...
2
votes
1answer
77 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
26 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
84 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
39 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
41 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
91 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
41 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 ...
2
votes
1answer
97 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
40 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 ...
0
votes
1answer
122 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 requests. ...
0
votes
1answer
42 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
66 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
21 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
39 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
39 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
1answer
22 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
47 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
38 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
24 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
26 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
55 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
124 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
38 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
483 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
34 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
208 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
98 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/...