Questions tagged [http]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
46 views

How to capture HTTP responses with Excel file attachments?

I have an enterprise web application that allows users to download excel files generated dynamically by this application. We'd like to capture these excel files downloaded in order to get them ...
1
vote
0answers
605 views

IIS responds with “401 Unauthorized” without waiting for request's body

I noticed that our IIS 8.5 returns "401 Unauthorized" response to non-authenticated HTTP request right after receiving its headers, without waiting for the body: the client: POST /some/protected/...
0
votes
0answers
250 views

Nginx SSL configuration for multiple domains on the same IP

I'm serving multiple domains from the same IP. I enabled SSL for one of them (ssobczak.net) and now I'm getting redirected instead of reaching it. I'm getting redirected to another one: beta....
1
vote
2answers
68 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
593 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
1answer
69 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://$...
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
53 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
211 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
431 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
93 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 ...
9
votes
4answers
3k 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
36 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
37 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 ...
9
votes
0answers
137 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
30 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
719 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 ...
2
votes
1answer
332 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-...
1
vote
0answers
256 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
41 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 ...
2
votes
1answer
289 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
24 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
340 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
566 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
44 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
573 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
87 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:/...
2
votes
1answer
284 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/...
1
vote
2answers
30 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
63 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
211 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
29 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 ...
1
vote
1answer
100 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
140 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
58 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 "...
-2
votes
2answers
63 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
353 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 ...
1
vote
1answer
563 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
721 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
1answer
930 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
331 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
123 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
90 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
265 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
2answers
1k 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 ...
2
votes
0answers
155 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
1answer
302 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
1answer
29 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
209 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 ...