Questions tagged [webserver]

A software application that services requests from clients using the Hypertext Transfer Protocol.

8218 questions
2
votes
2 answers

Nginx with TLS 1.3

Trying to use TLS 1.3 certificates in Nginx (1.15.8), I found that the official Nginx was built with openssl 1.1.0, where as for TLS 1.3, openssl 1.1.1 is needed. To solve this, I built my own openssl 1.1.1 from sources and then nginx from sources…
Eldad Assis
  • 10,464
  • 11
  • 52
  • 78
2
votes
1 answer

NGINX Redirect URL with Query Strings

I have this NGINX configuration: root /var/www/web; index index.php; server_name domain.com; access_log off; error_log on; location / { rewrite ^/(.*)$ /index.php?tag=$1&page=1 last; } Now, I want to redirect url something like…
RaiN
  • 152
  • 1
  • 9
2
votes
0 answers

Webserver With Image Using C#

I Have a Problem With Make A local Website That Can Be Accessed From other Computer in my Local Network I want to Pass the image from picturebox and the text from textbox into the website. I have used the code that I have found online but I have…
2
votes
1 answer

How can I fix errors on this page?

These errors occur when you enter the admin page. I want to fix this. Help me. problementer image description here Source code urls.py-fistsite from django.contrib import admin from django.urls import path, include from polls import…
leeeleee
  • 35
  • 5
2
votes
2 answers

How to check the version compatibility of an exe?

How to compare the version of an application in server and the application installed in client machine?
Tanya
  • 1,571
  • 5
  • 22
  • 33
2
votes
2 answers

Access my AWS EC2 server index.html from external browser

I've been setting up an AWS EC2 server this week, and I'm almost there with what I want to do. But opening up as a web server is proving to be a stumbling block. MY SETUP I have an AWS EC2 instance running Red Hat EL7. I have an Apache server…
2
votes
1 answer

Unable to serve angular components with simple Dart web server

I'm just getting started writing web apps and want to do the whole stack in Dart. I've followed some tutorials for the client side and running them in webstorm works. Next I built my web app by right clicking on the pubspec.yaml file and choosing…
cjmarques
  • 632
  • 1
  • 7
  • 17
2
votes
2 answers

Don't serve static files if backend is offline

I have the following nginx config that handles serving my static website and redirecting requests to my REST backend: server { listen 80 default_server; server_name _; # Host static content directly location / { root…
Silveri
  • 4,836
  • 3
  • 35
  • 44
2
votes
0 answers

Why angular app dist build needs to be served on web server?

why we need a web server for the angular build? Why I cannot directly run dist/index.html? If my angular build has all the bundled js files hosted and someone copies page source then why it does not run? I referenced: SO question and Github…
Always_a_learner
  • 4,585
  • 13
  • 63
  • 112
2
votes
1 answer

Cannot successfully implement http.Handler

I'm trying to get the following code to compile. I cannot successfully implement my own template handler struct an it results in the following error upon build. Error: ./main.go:28:46: cannot use templateHandler literal (type *templateHandler) as…
Nicholas Porter
  • 2,588
  • 2
  • 23
  • 37
2
votes
3 answers

How do I prevent a python server from writing to the terminal window?

I need to run a Python web server, while still taking inputs from the user, but when someone visits the website, the information logged to the terminal window is on the same line as the input, making it look like this: I've tried setting the thread…
F4Tornado
  • 183
  • 2
  • 14
2
votes
1 answer

Can a synchronous HTTP request be handled asynchronously on the server?

I'm trying to understand the terminology I see in other posts regarding synchronous and asynchronous web requests, so, in the below scenario: The client sends a request synchronously to the server (meaning the client is blocked until it receives a…
Mario Ishac
  • 5,060
  • 3
  • 21
  • 52
2
votes
2 answers

What is actual ways Nginx purge cache with wildcard HTTP request?

First of all I searching and trying some articles: 1) https://www.ryadel.com/en/nginx-purge-proxy-cache-delete-invalidate-linux-centos-7/ In the first way: a) update cache by curl request (BYPASS), it works for me, but there is no example for…
Kein
  • 165
  • 2
  • 15
2
votes
1 answer

nginx is not showing custom error page with uwsgi

I'm trying to add a custom error page for 502 and 504 answers. Currently I have the following nginx configuration for my site (other configuration files are untouched): server { listen 80; listen [::]:80; server_name…
morpheuz
  • 91
  • 1
  • 10
2
votes
1 answer

What is the difference between a WSGI server and a Web server?

I created a RESTful application in Python. I'm now trying to know what kind of server I should use to deploy the application. Currently I'm looking at Gunicorn, which is a WSGI server. But I often hear about this popular web-server Apache as well.…
Melody975
  • 105
  • 1
  • 1
  • 5