disable ssl
This commit is contained in:
@@ -24,8 +24,8 @@ class RouteServiceProvider extends ServiceProvider
|
||||
*/
|
||||
public function boot(): void
|
||||
{
|
||||
resolve(\Illuminate\Routing\UrlGenerator::class)->forceScheme('https');
|
||||
parent::boot();
|
||||
//resolve(\Illuminate\Routing\UrlGenerator::class)->forceScheme('https');
|
||||
//parent::boot();
|
||||
RateLimiter::for('api', function (Request $request) {
|
||||
return Limit::perMinute(60)->by($request->user()?->id ?: $request->ip());
|
||||
});
|
||||
|
||||
@@ -5,5 +5,10 @@ WORKDIR /app
|
||||
COPY . /app
|
||||
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
RUN apt-get update && apt-get install -y \
|
||||
net-tools \
|
||||
iproute2 \
|
||||
procps \
|
||||
lsof \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
CMD ["python", "app.py"]
|
||||
|
||||
@@ -1630,3 +1630,20 @@ OBR|||1|TEST123^Exa
|
||||
2025-07-17 01:11:53,049 - ERROR - Failed to bind to port 6001: [Errno 98] Address already in use
|
||||
2025-07-17 01:11:53,099 - WARNING - * Debugger is active!
|
||||
2025-07-17 01:11:53,100 - INFO - * Debugger PIN: 804-449-067
|
||||
2025-07-17 01:21:30,786 - INFO - Listening on TCP port 6001...
|
||||
2025-07-17 01:21:31,276 - INFO - [31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
|
||||
* Running on all addresses (0.0.0.0)
|
||||
* Running on http://127.0.0.1:5000
|
||||
* Running on http://172.18.0.3:5000
|
||||
2025-07-17 01:21:31,277 - INFO - [33mPress CTRL+C to quit[0m
|
||||
2025-07-17 01:21:31,278 - INFO - * Restarting with stat
|
||||
2025-07-17 01:24:26,800 - INFO - Listening on TCP port 6001...
|
||||
2025-07-17 01:24:27,334 - INFO - [31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
|
||||
* Running on all addresses (0.0.0.0)
|
||||
* Running on http://127.0.0.1:5000
|
||||
* Running on http://172.18.0.4:5000
|
||||
2025-07-17 01:24:27,373 - INFO - [33mPress CTRL+C to quit[0m
|
||||
2025-07-17 01:24:27,375 - INFO - * Restarting with stat
|
||||
2025-07-17 01:24:33,347 - ERROR - Failed to bind to port 6001: [Errno 98] Address already in use
|
||||
2025-07-17 01:24:33,371 - WARNING - * Debugger is active!
|
||||
2025-07-17 01:24:33,616 - INFO - * Debugger PIN: 631-229-636
|
||||
|
||||
Reference in New Issue
Block a user